Ask Your Question
0

ROS camera Sensor Gazebo

asked 2017-06-13 02:22:34 -0600

sritee gravatar image

updated 2017-06-22 14:50:44 -0600

130s gravatar image

Hello, I have a camera (default gazebo model) in my world.

I launch gazebo using roslaunch. On trying rostopic list, I do not see any topic published by the camera?

This is the output of rostopic list.

/clock
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/rosout
/rosout_agg

How do i use the camera data from my simulation?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-06-14 04:44:20 -0600

sritee gravatar image

updated 2017-06-22 11:50:03 -0600

I was making a mistake as I did not add a camera sensor plugin to my world file. Simply copy past the camera plugin lines from the ros plugin tutorials into your .world files, or your robot file, and launch gazebo by roslaunch [packagename] [launchfile]. After adding, rostopic list gives the published image topic. This can be visualized using rviz!

http://gazebosim.org/tutorials?tut=ro...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-06-13 02:21:43 -0600

Seen: 878 times

Last updated: Jun 22 '17