SITL: vicon send odometry with quality of 50

This commit is contained in:
Randy Mackay 2024-02-21 08:55:51 +09:00 committed by Peter Barker
parent c6715e923c
commit 7af0015b69
1 changed files with 2 additions and 1 deletions

View File

@ -233,7 +233,8 @@ void Vicon::update_vicon_position_estimate(const Location &loc,
MAV_FRAME_LOCAL_FRD,
MAV_FRAME_BODY_FRD,
0,
MAV_ESTIMATOR_TYPE_VIO
MAV_ESTIMATOR_TYPE_VIO,
50 // quality hardcoded to 50%
};
mavlink_msg_odometry_encode_status(
system_id,