Ask Your Question
1

3d navigation in rviz

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

aliak gravatar image

updated 2014-01-28 17:09:30 -0500

ngrennan gravatar image

I am new in ROS. I used stageros for 2d navigation of roomba. I want 3d navigation and simulation of robot in rviz. is it possible? can anyone help me out?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
5

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

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

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 -0500

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
0

answered 2011-05-07 12:41:24 -0500

aliak gravatar image

Thanks Jeff Rousseau. I am now working on 2d navigation in order to keep things simpler.

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

[hide preview]

Question Tools

Follow
1 follower

Stats

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

Seen: 798 times

Last updated: May 07 '11