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 Andrew Tridgell
parent e1e7882b7b
commit 81b0d599a8
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,