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

turtlebot3 does not have camera?

asked 2020-06-06 09:10:06 -0500

kamal.kld11 gravatar image

updated 2022-05-01 13:02:01 -0500

lucasw gravatar image

Hello Helpers, when i run roslaunch turtlebot3_gazebo turtlebot3_world.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

edit retag flag offensive close merge delete

Comments

Have you configured your robot discription (urdf) file ?

Chris91 gravatar image Chris91  ( 2020-06-08 12:41:37 -0500 )edit

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

kamal.kld11 gravatar image kamal.kld11  ( 2020-06-08 12:52:23 -0500 )edit

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

Which camera are u using ?

Chris91 gravatar image Chris91  ( 2020-06-08 13:09:06 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-12-07 15:50:09 -0500

GeorgNo gravatar image

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

edit flag offensive delete link more

Comments

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

muratkoc503 gravatar image muratkoc503  ( 2021-12-08 11:49:20 -0500 )edit
0

answered 2021-12-07 07:58:33 -0500

Morgenstern gravatar image

updated 2021-12-07 07:59:27 -0500

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

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-06-06 09:10:06 -0500

Seen: 1,030 times

Last updated: Dec 07 '21