AP_VisualOdom: Shorten the distinguished name.

AP_VisualOdom: Shorten the distinguished name.
This commit is contained in:
murata 2020-07-26 23:12:33 +09:00 committed by Randy Mackay
parent dbb19dd402
commit 9cc8b2f21a
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ bool AP_VisualOdom_IntelT265::align_sensor_to_vehicle(const Vector3f &position,
ahrs_quat.angular_difference(att_corrected).to_axis_angle(angle_diff); ahrs_quat.angular_difference(att_corrected).to_axis_angle(angle_diff);
const float yaw_trim_orig = _yaw_trim; const float yaw_trim_orig = _yaw_trim;
_yaw_trim = angle_diff.z; _yaw_trim = angle_diff.z;
gcs().send_text(MAV_SEVERITY_CRITICAL, "VisualOdom: yaw shifted %d to %d deg", gcs().send_text(MAV_SEVERITY_CRITICAL, "VisOdom: yaw shifted %d to %d deg",
(int)degrees(_yaw_trim - yaw_trim_orig), (int)degrees(_yaw_trim - yaw_trim_orig),
(int)wrap_360(degrees(sens_yaw + _yaw_trim))); (int)wrap_360(degrees(sens_yaw + _yaw_trim)));