Robotics StackExchange | Archived questions

is it possible to slowdown only /clcok publishing frequency?

Hi,

Is it possible to slowdown /clock publishing frequency? We found

<physics type="ode">
  <max_step_size>0.01</max_step_size>
  <real_time_factor>1</real_time_factor>
  <real_time_update_rate>100</real_time_update_rate>
</physics>

will publish /clock at 100hz (originally 1000hz) but it also include simulation step from 1msec to 10msec. I'd like to compute 1 msec simulation but publish clock at 100hz.

Is it possible?

Asked by Kei Okada on 2015-08-07 12:08:36 UTC

Comments

I'd like to fix python performance issue on /clock environment -> http://answers.ros.org/question/29425/rospy-horrible-performance-with-sim_time/

Asked by Kei Okada on 2015-08-07 12:09:38 UTC

Answers