mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
Plane: update vehicle max_speed to ADSB library
This commit is contained in:
parent
657f515f40
commit
4dca1c48f2
@ -306,6 +306,7 @@ void Plane::one_second_loop()
|
|||||||
ahrs.set_orientation();
|
ahrs.set_orientation();
|
||||||
|
|
||||||
adsb.set_stall_speed_cm(aparm.airspeed_min);
|
adsb.set_stall_speed_cm(aparm.airspeed_min);
|
||||||
|
adsb.set_max_speed(aparm.airspeed_max);
|
||||||
|
|
||||||
// sync MAVLink system ID
|
// sync MAVLink system ID
|
||||||
mavlink_system.sysid = g.sysid_this_mav;
|
mavlink_system.sysid = g.sysid_this_mav;
|
||||||
|
Loading…
Reference in New Issue
Block a user