Attention: Answers.ros.org is deprecated as of August the 11th, 2023. Please visit robotics.stackexchange.com to ask a new question. This site will remain online in read-only mode during the transition and into the foreseeable future. Selected questions and answers have been migrated, and redirects have been put in place to direct users to the corresponding questions on Robotics Stack Exchange. Additional details are available here.
The site is read-only. Please transition to use Robotics Stack Exchange
0
I want to make a node which should rotate the robot in a circle and then stop at its initial position. Currently I am able to move the turtlebot in a circle continuosly but dont how to stop it at its initial position. Please help.
move the var_sub callback to outside of the while loop. I am not looking at the correctness of your solution, but you should not have a subscriber in a loop like yours.
move the var_sub callback to outside of the while loop. I am not looking at the correctness of your solution, but you should not have a subscriber in a loop like yours.
ohkk. Thankyou.