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

turtlebot2,gazebo and 3D SLAM

asked 2021-11-18 13:13:24 -0500

kemo007 gravatar image

I am using ubuntu 16.04 and kinetic. I want to construct a 3D map from Gazebo by using 3D SLAM (RGB-D Sensors by using) and turtlebot2 in simulation (i don't have the real turtlebot2 and the camera). I really need some help. all tutorials use a real camera but I want to use the simulated turtlebot camera.

edit retag flag offensive close merge delete

Comments

If you have the robot up and running in gazebo, you can subscribe to the camera topic in your SLAM node and it will work similar to on a real robot. Whch turtlebot and SLAM algorithm are you working with?

3473f gravatar image 3473f  ( 2021-11-19 06:25:29 -0500 )edit

@3473f, How? Would you please help me?

kemo007 gravatar image kemo007  ( 2021-11-19 07:08:05 -0500 )edit

Do you have your simulation up an running with the rgb-d camera mounted to the robot?

3473f gravatar image 3473f  ( 2021-11-19 07:31:10 -0500 )edit

@3473f, I did get the turtlebot2 simulation on Gazebo and Ruiz. when I tried to launch RGBDSLAM packages, I couldn't coz all tutorials apply on a real bot and camera. if you could help me, i will be thankful

kemo007 gravatar image kemo007  ( 2021-11-20 10:42:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-11-20 13:45:45 -0500

3473f gravatar image

I am basing my answer on this turtlebot repo and this RGBDSLAMv2 repo.

All you need to do is to subscribe to the rgb and depth images topics output from the kinect and add them to the launch file. On the turtlebot2, the rgb topic rgb/image_raw is and depth topic is depth/image_raw. You can now use the sample launch file provided by the package and change the topic names to the values mentioned above.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-11-18 13:13:24 -0500

Seen: 136 times

Last updated: Nov 20 '21