ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Setup a simultaion on a custom map in Indigo

asked 2014-10-01 09:59:37 -0500

vd77 gravatar image

Hey everyone. A newcomer to ROS here. How can I setup a simulation in indigo distribution. I want the result to look something like this: I wanted to use turtlebot simultaion, but apparently it is not supported in indigo yet. What is the easiest way to setup a simulation with the vizualization process (in rviz, possibly)? How can I load the custom map? Do I have to use Gazebo?

I appreciate the answers very much.

edit retag flag offensive close merge delete



Do you need 2D or 3D simulation? You can use Stage or gazebo.

gustavo.velascoh gravatar image gustavo.velascoh  ( 2014-10-01 15:32:16 -0500 )edit

2D would be enough.

vd77 gravatar image vd77  ( 2014-10-02 02:05:55 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-23 22:40:49 -0500

For 2D simulation you should use Stage. You have to set you .world file, maybe using an image. Then you could use an existing robot model or create a new one. Stage node will publish topics for position, laser data, camera data, and it subscribe to velocity topic. You can use another node for controlling the robot via cmd_vel topic, like teleoperation using the keyboard. Finally, you can start RVIZ and visualize data in topics aforementioned. There are tutorials and guides for each of the nodes and functionalities described.

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: 2014-10-01 09:59:37 -0500

Seen: 172 times

Last updated: Oct 23 '14