ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

If you know the poses a priory, why not just use a for loop to go through them? Compare your current pose and goal pose to know when you have reached your goal and update your iterator.
If you also want to avoid the wall, you could use some mapping stack (gmapping, rtabmap, etc.) to generate a costmap which can be passed on to the nav stack for avoidance.

If you know the poses a priory, apriory, why not just use a for loop to go through them? Compare your current pose and goal pose to know when you have reached your goal and update your iterator.
If you also want to avoid the wall, you could use some mapping stack (gmapping, rtabmap, etc.) to generate a costmap which can be passed on to the nav stack for avoidance.