Ask Your Question
1

3d navigation in rviz

asked Apr 11 '11

aliak gravatar image aliak
38 2 5

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?

delete close flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
5

answered Apr 14 '11

JeffRousseau gravatar image JeffRousseau
1141 15 21 34
http://jeffrousseau.info/

updated Apr 14 '11

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.

link delete flag offensive edit
2

answered Apr 11 '11

KoenBuys gravatar image KoenBuys
1904 8 19 42
http://people.mech.kuleuv...

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.

link delete flag offensive edit
0

answered May 07 '11

aliak gravatar image aliak
38 2 5

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

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: Apr 11 '11

Seen: 417 times

Last updated: May 07 '11