mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
SITL: fixed build with new vicon_position_estimate message extension
This commit is contained in:
parent
484369ea26
commit
e455958c87
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user