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

3d navigation in rviz

asked 2011-04-11 08:31:49 -0600

Ali Abdul Khaliq gravatar image

updated 2014-12-13 06:36:16 -0600

I am new in ROS. I have used stageros for 2D navigation of roomba. Now I want to simulate the 3D navigation and visualize it in rviz. Is it possible? can anyone help me out?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
5

answered 2011-04-14 01:20:04 -0600

updated 2011-04-14 02:25:40 -0600

For a 3D URDF model for rviz/Gazebo of a Create (Roomba without the vacuum) see my repository here.

By supplying this URDF as your robot description in the nav stack your robot will show up as this 3D model in rviz, even if you're just using a 2D simulator like Stage.

However, rviz still won't show a 3D world when using either Stage, Gazebo or even real robots in a real world because the nav stack operates on 2D costmaps built on 2D laser scans. Because of this the costmap will show up in rviz as a 2D map image with a 3D robot superimposed on it (if using a URDF for your robot)

UPDATE: If you want to try some bleeding edge 3D mapping/localization packages you could checkout the 6D-SLAM stuff. You'll have to find a way of simulating a Kinect inside of Gazebo, but I'm pretty sure that has been done already (just not well documented). You'll also need something of a super-computer to run it as Gazebo+Simulated Point Clouds+6D-SLAM = a lot of processing going on. This will give you localization and mapping, but not trajectory/path planning... You'd have to come up with your own 3D path planner.

PS If you're new to ROS, I'd stick with the 2D nav stack until things get a bit more mature.

edit flag offensive delete link more
2

answered 2011-04-11 18:09:36 -0600

KoenBuys gravatar image

Do you want visualisation of a robot or simulation of a robot (two different things = different packages)? Visualisation can be done in RVIZ if you create a robot model for your specific robot (don't know if there's a roomba model already available). Check the roomba page, it also has a navigation tutorial. If you want simulation have a look at Gazebo or MORSE. They both allow you to simulate your robot in 3D and test your navigation setup, afterwards you can visualise the results in Rviz or in MORSE.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2011-04-11 08:31:49 -0600

Seen: 2,489 times

Last updated: Dec 13 '14