Ask Your Question

How to run actual robot code in Gazebo Simulation?

asked 2017-04-24 03:01:30 -0500

Waleed_Shahzaib gravatar image

I am working on Guardian mobile robot. It has 2 ROS packages, one for real robot and other for Gazebo simulation. Mapping and navigation code is available in real robot package and not in Gazebo simulation package. Please tell, how can I run mapping and navigation code in Gazebo package. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-24 19:49:12 -0500

Geoff gravatar image

If you are using the packages from here (you didn't say, so I had to guess), then there are launch files available for starting the navigation stack in the guardian_sim packages. For example, guardian_ros_pkg/guardian_sim/guardian_nav/launch/move_base_sim.launch.

edit flag offensive delete link more


Thanks for your answer, I am using ROS Indigo and for Indigo version guardian_sim folder downloaded from does not contain guardian_nav package. The Guardian packages link you shared also supports ROS Hydro.

Waleed_Shahzaib gravatar image Waleed_Shahzaib  ( 2017-04-25 04:58:33 -0500 )edit

@Geoff I have setup ROS hydro in my system to run guardian_nav package, but unfortunately its not working. Error is: Waiting on transform from base_footprint to map to become available before running costmap, tf error:

Please help.

Waleed_Shahzaib gravatar image Waleed_Shahzaib  ( 2017-05-16 03:28:32 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-04-24 03:01:30 -0500

Seen: 206 times

Last updated: Apr 24 '17