mirror of https://github.com/ArduPilot/ardupilot
AP_DDS: send quality of zero to AP_VisualOdom
This commit is contained in:
parent
442c90ff1b
commit
6c5425cd68
|
@ -40,7 +40,7 @@ void AP_DDS_External_Odom::handle_external_odom(const tf2_msgs_msg_TFMessage& ms
|
|||
const uint8_t reset_counter {0};
|
||||
// TODO implement jitter correction similar to GCS_MAVLINK::correct_offboard_timestamp_usec_to_ms(remote_time_us, sizeof(msg));
|
||||
const uint32_t time_ms {static_cast<uint32_t>(remote_time_us * 1E-3)};
|
||||
visual_odom->handle_pose_estimate(remote_time_us, time_ms, ap_position.x, ap_position.y, ap_position.z, ap_rotation, posErr, angErr, reset_counter);
|
||||
visual_odom->handle_pose_estimate(remote_time_us, time_ms, ap_position.x, ap_position.y, ap_position.z, ap_rotation, posErr, angErr, reset_counter, 0);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue