Ask Your Question

How can I simulate in rviz or gazebo

asked 2017-09-12 21:35:20 -0500

I want to simulate many behaviors of wheeled mobile robot such as mapping or navigation.I have found that ROS have package like navigation and gmapping,how can I run this package in simulation environment?


edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2017-09-13 11:32:21 -0500

Your simulated robot needs odometry and laser data to create maps. Odometry typically comes from your gazebo controller plugin. I used a controller from the hector_gazebo_plugins package (see ). To generate simulated laser scan data you can use e.g. the Hokuyo plugin (see ).

If you do not have a simulated robot yet, you might want to start with an already existing robot model for Gazebo, like the TurtleBot simulator ( ). There are also tutorials around for using gmapping or amcl on the TurtleBot (see ). These tutorials should also work on a simulated TurtleBot.

Good luck!

edit flag offensive delete link more


thanks,I did it,that looks so cool.But now I want to Setup and Configuration of the Navigation Stack on a Robot(link text),I want to run navigation stack on there any ways?What should I do to? thank you !

pengjiawei gravatar imagepengjiawei ( 2017-09-15 21:47:39 -0500 )edit

I am glad to hear, that you got your simulation and gmapping up and running. The Gaitech EDU tutorials might help you to learn more about using the navigation stack on a TurtleBot:

Andre Volk gravatar imageAndre Volk ( 2017-09-18 15:47:59 -0500 )edit

answered 2018-01-09 21:54:00 -0500

recently, I simulate my mobile robot in stage and i am using navigation_stage package , this is my github link text and it is based on navigation_stage and something changed by me

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2017-09-12 21:35:20 -0500

Seen: 436 times

Last updated: Jan 09 '18