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 Sep 4, 2024
1 parent 5e60d1b commit d360699
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 @@ -3294,7 +3294,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 d360699

Please sign in to comment.