Question: Step 1 : Write a ROS node using rospy that sends the turtlesim robot to a series of waypoints stored as a python list: waypoints

Step 1: Write a ROS node using rospy that sends the turtlesim robot to a series of waypoints stored as a
python list:
waypoints =[(x1,y1),(x2,y2),...,(xn,yn)]
You must allow for any length of list. The node should terminate when the last waypoint is reached.
Make sure you test this thoroughly before proceeding to the next steps.
Step 2: Add code to calculate and maintain a running estimate of the average accuracy with which
waypoints are being reached when processing a waypoint list. Test this with a list of 10 waypoints.
Vary the termination threshold in the while loop of of the goto node using the following values [1,0.5,
0.25,0.1,0.05,0.01]. For each, record the value of the accuracy.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!