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

Clock server as nodelet

asked 2018-08-21 08:36:17 -0600

Myzhar gravatar image

updated 2018-08-21 08:36:50 -0600

I have a nodelet that should act as clock server when it is started in simulation mode.

My problem is that if I set "use_sim_time" to true the "nodelet_manager" does not start because there is no clock source until my nodelet is started.

How can I solve this "snake biting its tale" problem?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-02-20 10:15:31 -0600

RaphvK gravatar image
  1. Set use_sim_time = false
  2. Start nodelet_manager
  3. Set use_sim_time = true
  4. Load clock server nodelet into nodelet_manager
edit flag offensive delete link more

answered 2021-07-29 10:18:54 -0600

lucasw gravatar image describes this (posted a day later, a link back to this question would have been nice), and then there was a PR fix to use wall clock that was merged.


edit flag offensive delete link more

Question Tools



Asked: 2018-08-21 08:36:17 -0600

Seen: 442 times

Last updated: Jul 29 '21