Ask Your Question
2

What does "Is /clock being published?" error means?

asked 2012-12-19 01:17:21 -0600

updated 2013-11-13 21:58:34 -0600

Procópio gravatar image

Hi all,

I want to test the function of tabletop_segmentation.But when my node send a service request to /tabletop_segmentation, I always get messages indicate that "NO_CLOUD_RECEIVED".

[ INFO] [1355922807.919213857, 1093.482000000]: Tabletop detection service called; waiting for a point_cloud2 on topic /narrow_stereo_textured/points2
[ERROR] [1355922813.224946787, 1096.538000000]: Tabletop object detector: no point_cloud2 has been received

The problem is /tabletop_segmentation node receive no data from /narrow_stereo_textured/points2.(This topic exists, though)

To test /narrow_stereo_textured/points2, I started gazebo by

  roslaunch manipulation_worlds pr2_table_object.launch

And I use rviz to see what /narrow_stereo_textured/points2 published, and I can see the content by changing Fixed frame from /map to /head_mount_kinect_ir_frame.

image description

However, when I try to rostopic echo this topic, I got

rosfuerte@rosfuerte-K53SM:~/project/nlp/libsvm-3.14$ rostopic echo /narrow_stereo_textured/points2
WARNING: no messages received and simulated time is active.
Is /clock being published?

And the segmentation fails as usual, does anyone know how to solve this problem? I want to test the function of segmentation alone. Thanks.

EDIT: This problem doesn't occur on another computer, which is also fuerte on ubuntu 12.04. I tried sudo apt-get dist-upgrade but I still got the error.

edit retag flag offensive close merge delete

Comments

Are you adding the time to the message header on publication?

allenh1 gravatar imageallenh1 ( 2012-12-26 07:10:08 -0600 )edit

This topic is published by Gazebo, I am not sure if I should modify the message header~

Po-Jen Lai gravatar imagePo-Jen Lai ( 2012-12-28 02:44:53 -0600 )edit

Are you playing data back from a bag file? Something set use_sim_time to true on the parameter server.

Tom Moore gravatar imageTom Moore ( 2013-11-13 13:13:22 -0600 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2013-11-12 20:56:08 -0600

timster gravatar image

If simulated time is active, you should usually play back bags with the --clock option...

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

2 followers

Stats

Asked: 2012-12-19 01:17:21 -0600

Seen: 4,853 times

Last updated: Nov 13 '13