Skip to content

Commit

Permalink
GCS_MAVLink: yaw_sensor is a float
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Aug 31, 2024
1 parent d69ac0e commit 1731c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/GCS_MAVLink/GCS_Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3175,7 +3175,7 @@ void GCS_MAVLINK::send_vfr_hud()
chan,
vfr_hud_airspeed(),
ahrs.groundspeed(),
(ahrs.yaw_sensor / 100) % 360,
((int32_t)ahrs.yaw_sensor / 100) % 360,
abs(vfr_hud_throttle()),
vfr_hud_alt(),
vfr_hud_climbrate());
Expand Down

0 comments on commit 1731c1c

Please sign in to comment.