SITL: send vicon data at 70ms intervals

this matches the max rate that EK2 will accept this data
This commit is contained in:
Andrew Tridgell 2019-08-23 15:32:10 +10:00
parent cfc37f2089
commit 4ca48f225d
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ void Vicon::update_vicon_position_estimate(const Location &loc,
return;
}
if (now_us - last_observation_usec < 10000) {
// create observations at 10ms
if (now_us - last_observation_usec < 70000) {
// create observations at 70ms intervals (matches EK2 max rate)
return;
}