Browse Source

AP_VisualOdom: Shorten the distinguished name.

AP_VisualOdom: Shorten the distinguished name.
c415-sdk
murata 5 years ago committed by Randy Mackay
parent
commit
9cc8b2f21a
  1. 2
      libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp

2
libraries/AP_VisualOdom/AP_VisualOdom_IntelT265.cpp

@ -148,7 +148,7 @@ bool AP_VisualOdom_IntelT265::align_sensor_to_vehicle(const Vector3f &position, @@ -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);
const float yaw_trim_orig = _yaw_trim;
_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)wrap_360(degrees(sens_yaw + _yaw_trim)));

Loading…
Cancel
Save