Question: In c++ write a node gotopose that subscribes to the targetpose topic, and moves the robot there using the non-blocking action provided by move_base. write

In c++

write a node "gotopose" that subscribes to the "targetpose" topic, and moves the robot there using the non-blocking action provided by move_base.

write a node "gotoposetimeout" that works like the previous one, but if the target location is not reached within 5 seconds, it stops (preempts) the action. To do that, you need to call the cancelGoal method in SimpleActionClient

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 Databases Questions!