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
1 changed files with 2 additions and 1 deletions

View File

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