Browse Source

MAVLink: added climb rate reporting

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
0385932afb
  1. 2
      ArduPlane/GCS_Mavlink.pde

2
ArduPlane/GCS_Mavlink.pde

@ -349,7 +349,7 @@ static void NOINLINE send_vfr_hud(mavlink_channel_t chan)
(ahrs.yaw_sensor / 100) % 360, (ahrs.yaw_sensor / 100) % 360,
(uint16_t)(100 * (g.channel_throttle.norm_output() / 2.0 + 0.5)), // scale -1,1 to 0-100 (uint16_t)(100 * (g.channel_throttle.norm_output() / 2.0 + 0.5)), // scale -1,1 to 0-100
current_loc.alt / 100.0, current_loc.alt / 100.0,
0); barometer.get_climb_rate());
} }
#if HIL_MODE != HIL_MODE_ATTITUDE #if HIL_MODE != HIL_MODE_ATTITUDE

Loading…
Cancel
Save