SITL: fixed build with new vicon_position_estimate message extension

This commit is contained in:
Andrew Tridgell 2018-06-14 09:33:08 +10:00
parent 484369ea26
commit e455958c87

View File

@ -111,7 +111,8 @@ void Vicon::update_vicon_position_estimate(const Location &loc,
position.z, position.z,
roll, roll,
pitch, pitch,
yaw); yaw,
NULL);
uint32_t delay_ms = 25 + unsigned(random()) % 300; uint32_t delay_ms = 25 + unsigned(random()) % 300;
time_send_us = now_us + delay_ms * 1000UL; time_send_us = now_us + delay_ms * 1000UL;