Don't publish IMU/motor data at fixed 1kHz, but only when new data is present
This allows to tune the publishing frequency according to what the flight
controller sends. In particular, this can be effectively changed with
the set_sensor_rate() service.
This helps when used in combination with ros that has hard times
publishing many topics at 1kHz.
Added by Anthony Mallet over 2 years ago