Gazebo | Ignition | Community
Ask Your Question

Michael H.'s profile - activity

2017-05-18 16:49:54 -0500 received badge  Student (source)
2017-05-18 16:46:12 -0500 received badge  Famous Question (source)
2017-05-18 16:46:12 -0500 received badge  Notable Question (source)
2017-04-03 08:15:30 -0500 received badge  Popular Question (source)
2017-03-23 11:38:22 -0500 received badge  Supporter (source)
2017-03-23 11:38:09 -0500 received badge  Scholar (source)
2017-03-21 12:23:54 -0500 commented answer SensorPlugin: how to enforce frame update rate?

Thanks for pointing me to this PR. This seems like exactly what I need. Too bad that it has not got merged yet. I will wait a few days for further answers, but I think this is the correct answer to my question.

2017-03-21 10:43:48 -0500 asked a question SensorPlugin: how to enforce frame update rate?

The update_rate parameter of the gazebo camera sensor seems to be understood as the upper limit for the frame frequency and does not slow down the simulation time if the rate can not be provided.

For example, update_rate = 300 yields a message frequency of ~200 on my system. The measurement has been conducted with rostopic hz with update_rate = 0 for the ROS plugin (=> publish every frame).

How can I make sure that the sensor produces a fixed amount of frames per simulation time (without manually adapting the real time factor)?


I am developing a custom sensor plugin which attempts to simulate a Dynamic Vision Sensor. The DVS is an event-based sensor, effectively reporting pixel change events when the pixel-value change exceeds a certain threshold. One of the main advantages of this sensor is the very low delay between system state change and visual feedback. As my simulation relies on inter-frame differences, I need a very high frame-rate to produce these small delays.