mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
SIM_Vicon: label fields going into VISION_SPEED_ESTIMATE packets
This commit is contained in:
parent
c12bb6720a
commit
8c9ed697fe
@ -207,10 +207,10 @@ void Vicon::update_vicon_position_estimate(const Location &loc,
|
||||
// send vision speed estimate
|
||||
if (should_send(ViconTypeMask::VISION_SPEED_ESTIMATE) && get_free_msg_buf_index(msg_buf_index)) {
|
||||
const mavlink_vision_speed_estimate_t vicon_speed_estimate{
|
||||
now_us + time_offset_us,
|
||||
vel_corrected.x,
|
||||
vel_corrected.y,
|
||||
vel_corrected.z
|
||||
usec: now_us + time_offset_us,
|
||||
x: vel_corrected.x,
|
||||
y: vel_corrected.y,
|
||||
z: vel_corrected.z
|
||||
};
|
||||
mavlink_msg_vision_speed_estimate_encode_status(
|
||||
system_id,
|
||||
|
Loading…
Reference in New Issue
Block a user