3d navigation in rviz
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?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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?
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.
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.
Asked: 2011-04-11 08:31:49 -0600
Seen: 2,489 times
Last updated: Dec 13 '14
How to visualize surface normals as Marker::Arrow for each point in rviz?
Corrected Odometry from GMapping / Karto?
Visualizing continuous and revolute joint types in rviz
How to add Kinect sensor input to a URDF model?
Has there been progress for URDF transform jitter in RVIZ?
Starting rviz, failed to initialize ogre, cannot find RenderSystem_GL.so
rviz installation issues on 64bit snow-leopard using ROS Diamondback