Robotics StackExchange | Archived questions

turtlebot3 does not have camera?

Hello Helpers, when i run roslaunch turtlebot3gazebo turtlebot3world.launch its working fine but it does not publishing anything related to camera like /camera/depth/camera_info or /camera/depth/image_raw (when i see in rostopic list).

So question is, what is wrong with me. can i add camera in my turtlebot3 if yes so please share the process, it will be highly appreciated.

Thank you

Asked by kamal.kld11 on 2020-06-06 09:10:06 UTC

Comments

Have you configured your robot discription (urdf) file ?

Asked by Chris91 on 2020-06-08 12:41:37 UTC

Hey thank you so much for reply please help me some more........ No I just fire roslaunch turtlebot3_gazebo turtlebot3_world.launch command and then i can see turtle bot in gazebo simulator. And when i fire rostopic list the output is following. (there are not any node related to camera)

/clock
/cmd_vel
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/imu
/joint_states
/odom
/rosout
/rosout_agg
/scan
/tf

How can i configure urdf file please help....

Thank you

Asked by kamal.kld11 on 2020-06-08 12:52:23 UTC

Take a look @ few examples is a good start. Here is the official tutorial.

Which camera are u using ?

Asked by Chris91 on 2020-06-08 13:09:06 UTC

Answers

Maybe it's late to answer, but i couldn't find camera node too. But then i found camera as a topic with this command:

rostopic list

So i start to find which node publishes this camera topic. And logically it must be gazebo cause gazebo is producing the environment for us.

rosnode info /gazebo

As output you will see publications, subscriptions, services etc. as a publication there is a camera topic.

So if you want to find and use camera i think you should use it from gazebo node

Asked by Morgenstern on 2021-12-07 08:58:33 UTC

Comments

The normal urdf file in turtlebot3_world.launch is oen without a camera. Have a look at turtlebot3_autorace.launch or simply change the model argument in turtlebot3_world.launch eg:

roslaunch turtlebot3_gazebo turtlebot3_world.launch model:=burger_for_autorace

Asked by GeorgNo on 2021-12-07 16:50:09 UTC

Comments

i dont see depth camera for burger_for_autorace. but this include camera.

Asked by muratkoc503 on 2021-12-08 12:49:20 UTC