AP_DDS: send quality of zero to AP_VisualOdom

This commit is contained in:
Randy Mackay 2024-02-20 16:14:21 +09:00
parent d7837c7098
commit 855aa66bd0
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}