Ros Navigation - Plan trajectory before moving

asked 2021-02-25 02:56:31 -0500

aled96 gravatar image

Hi,

I am using the DWA planner to drive in an environment avoiding obstacles. I would like to know, is it possible to perform the planning part before moving and visualize the evolution of the robot position in RViz before actually moving it?

It would be interesting since it may allow to check if the path is correct, before launching on the real robot.

Thank you !

edit retag flag offensive close merge delete

Comments

The planning part is performed before moving always. Why don't you use gazebo to do the same, move_base does offer a service that allows you to make a plan without executing them "move_base::make_plan". You can visualize the generated plan using RViz.

asusrog gravatar image asusrog  ( 2021-02-25 04:41:02 -0500 )edit

That's great, thanks !

The plan is already the combination of the global and local planners, so the actual trajectory that will be generated, or it is just the global plan?

aled96 gravatar image aled96  ( 2021-02-25 04:59:32 -0500 )edit

Just the global plan

asusrog gravatar image asusrog  ( 2021-02-25 05:59:03 -0500 )edit

Ok, thank you very much !

aled96 gravatar image aled96  ( 2021-02-25 07:36:27 -0500 )edit