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

Clock not publishing?

asked 2018-07-31 13:44:42 -0500

asabet gravatar image

I'm launching a bumblebee2 stereo camera to get my input images. When I check the /clock topic, I don't see any timestamps being published. Is this abnormal?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-07-31 17:11:40 -0500

Geoff gravatar image

updated 2018-07-31 18:33:17 -0500

No, it's not abnormal. The /clock topic is only used if you are not using the wall clock. For example, if you are using a simulation then the /clock topic is published to provide the simulated world time, because it is often different from the real world time. This allows nodes to execute at the same pace as the simulation.

When using hardware distributed on the network, and not using not simulation or log files (i.e. when /clock is empty), to make sure everything in your system uses the same time you must use a tool such as NTP to keep all system clocks synced.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-07-31 13:44:42 -0500

Seen: 1,704 times

Last updated: Jul 31 '18