is it possible to slowdown only /clcok publishing frequency?

asked 2015-08-07 12:08:36 -0500

Kei Okada gravatar image

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?

edit retag flag offensive close merge delete

Comments

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

Kei Okada gravatar imageKei Okada ( 2015-08-07 12:09:38 -0500 )edit