Home | Tutorials | Wiki | Issues
Ask Your Question
0

Not publishing Camera Info topic and I receive the follow message "WARNING: no messages received and simulated time is active. Is /clock being published?" <depthImageCameraInfoTopicName>

asked 2013-09-10 17:36:15 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi,

I'm working with Gazebo and kinect (libgazebo_ros_openni_kinect). The camera info topic are not been published, I got the "WARNING: no messages received and simulated time is active. Is /clock being published?"

Not published topics:

<depthImageCameraInfoTopicName>
<cameraInfoTopicName>
compressedDepth

My kinect plugin have the following configuration:

<plugin name="camera" filename="libgazebo_ros_openni_kinect.so" >
  <cameraName>kinect_camera</cameraName>
  <frameName>camera_frame</frameName>
  <alwaysOn>true</alwaysOn>
  <visualize>true</visualize>
  <updateRate>20</updateRate>
  <pointCloudCutoff>0.001</pointCloudCutoff>
  <imageTopicName>/camera/rgb/image_color</imageTopicName>
  <cameraInfoTopicName>/camera/rgb/camera_info</cameraInfoTopicName>

  <depthImageTopicName>/camera/depth_registered/image</depthImageTopicName>
  <pointCloudTopicName>/camera/depth_registered/points</pointCloudTopicName>

  <depthImageCameraInfoTopicName>/camera/depth_registered/camera_info</depthImageCameraInfoTopicName>
  </plugin>
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-09-13 03:07:52 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Whats your output of "rostopic list" ?

To view the camera info topic, you should type "rostopic echo /kinect_camera/camera/depth_registered/camera_info" according to your configuration.

edit flag offensive delete link more

Comments

I am struggling with the same problem. the outputs of my rostopic are "/gazebo/link_state" or alike, which I believe have nothing to do with the plugin.

simbazgb gravatar imagesimbazgb ( 2014-08-12 12:41:06 -0600 )edit

What version of ROS and gazebo are you using?

nkoenig gravatar imagenkoenig ( 2014-08-13 10:02:10 -0600 )edit

I am using hydro with 1.9 gazebo. I tried turtlebot_gazebo package last night, and I can see those topics published. But I'd like to create another robot with sensor, but it doesn't work. I hacked kinect::model.sdf a bit, because kinect sdf doesn't contain a plugin as hokuyo does. Thanks for replying! I have problems probably because I am new.

simbazgb gravatar imagesimbazgb ( 2014-08-13 18:08:28 -0600 )edit

Seems to me that add <gazebo.../> to urdf works well. I can run a kinect in gazebo well. When I replied days ago, I was trying to copy the tag to a sdf file. At this point, I may have to stick to urdf to get things work. Thanks for reply again, nkoenig.

simbazgb gravatar imagesimbazgb ( 2014-08-16 17:01:14 -0600 )edit
0

answered 2013-09-14 20:21:43 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Are you using sim time? In you launch file you should have:

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-09-10 17:36:15 -0600

Seen: 4,054 times

Last updated: Sep 14 '13