def run(self):
while not rospy.is_shutdown():
if self.start_game:
self.updatAccVel()
ctr = Twist()
ctr.linear.x = self.vel
self.robot_pub.publish(ctr)
sleep(0.0001)