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

How to feed physical dimensions of robot to navigation stack?

asked 2016-08-28 14:44:29 -0600

Kishore Kumar gravatar image

I have just successfully finished my simulation and just assembled my robot hardware. Now i want to setup navigation stack in my real robot.

In the simulation, the navigation stack will take the dimensions of robot (Base L x W x H, wheel dia, Wheel separation) from the spawned URDF file but how and where should i feed these details to navigations stack in the real robot.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-08-30 03:01:55 -0600

Shay gravatar image

updated 2016-08-30 04:01:01 -0600

First of all, the URDF file is not only used by simulator(e.g. Gazebo), but also used by RViz, which can display a robot model after reading the URDF file.

As for navigation stack, the URDF file doesn't affect the navigation. The local and global planner are setup by several configuration files(costmap_common_params.yaml, global_costmap_params.yaml, local_costmap_params.yaml and base_local_planner_params.yaml). The robot footprint is setup in the costmap_common_params.yaml.

For more details, you can see navigation/Tutorials/RobotSetup.


It is not necessary to spawn the URDF, it doesn't affect the navigation. RViz can display a robot outline according to the parameters(footprint or robot_radius) in costmap_common_params.yaml. But with URDF, RViz can also display a good-looking robot model. It just for good-looking.

edit flag offensive delete link more


So, should i spawn the URDF file while experimenting ROS navigation in real robot also?

Kishore Kumar gravatar image Kishore Kumar  ( 2016-08-30 03:51:17 -0600 )edit

how can I get the footprint of a robot model build with meshes ??

Abderrahmane gravatar image Abderrahmane  ( 2020-10-01 08:15:57 -0600 )edit

Question Tools

1 follower


Asked: 2016-08-28 14:44:29 -0600

Seen: 944 times

Last updated: Aug 30 '16