Commit Graph

37017 Commits

Author SHA1 Message Date
Peter Barker
3100c8edad GCS_MAVLink: GCS can report simple/supersimple input modes 2019-03-19 14:39:14 +11:00
Peter Barker
1efc08b54e AP_FrSky_Telem: eliminate use of Copter's _ap data 2019-03-19 14:39:14 +11:00
Peter Barker
4f70bdd046 Copter: GCS can report simple/supersimple input modes 2019-03-19 14:39:14 +11:00
Peter Barker
903b2e381b Rover: GCS can report simple/supersimple input modes 2019-03-19 14:39:14 +11:00
Peter Barker
fabf0a10d5 Sub: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker
a5c18ff8f5 Copter: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker
070b185d2a Rover: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker
cf264a7d5e GCS_MAVLink: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker
1a55f0ffab Plane: FrSky support has moved to GCS 2019-03-19 14:39:14 +11:00
Peter Barker
0194cd69a1 AP_Frsky_Telem: take is_flying from AP_Notify 2019-03-19 14:39:14 +11:00
Peter Barker
e22b29bce4 Copter: FrSky support has moved to GCS 2019-03-19 14:39:14 +11:00
Peter Barker
680008ba4f AP_Frsky_Telem: use gcs() to get frame string 2019-03-19 14:39:14 +11:00
Peter Barker
b12d20d86c GCS_MAVLink: add support for frame_string 2019-03-19 14:39:14 +11:00
Peter Barker
5e73648d2a Rover: move FRsky telemetry up into common GCS telemetry class 2019-03-19 14:39:14 +11:00
Peter Barker
4e49e89b33 Tracker: move base_mode and frame_type into GCS from GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker
1ce531b921 Sub: move base_mode and frame_type into GCS from GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker
e5818308b9 AP_Frsky_Telem: move FRsky telemetry up into common GCS telemetry class 2019-03-19 14:39:14 +11:00
Peter Barker
ab1c42696c GCS_MAVLink: move FRsky telemetry up into common GCS telemetry class 2019-03-19 14:39:14 +11:00
Peter Barker
6b4733c9f0 Tracker: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker
5b618fb582 Sub: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker
7d2138bed9 Rover: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker
d58a15ca32 Plane: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker
3e0ec99100 Copter: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker
a36d2dd5b8 AP_Notify: add flag for flying 2019-03-19 14:39:14 +11:00
Andrew Tridgell
2ffded4dd7 AP_AHRS: implement get_velocity_NED() for DCM 2019-03-19 14:39:04 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
e014b3d308 mavlink: submodule update 2019-03-19 14:10:38 +11:00
Peter Barker
929e84d120 Tools: ardupilotwaf: add -Werror=attributes 2019-03-19 14:10:10 +11:00
Andrew Tridgell
6622a4579e AP_AHRS: fixed warning on WARN_IF_UNUSED 2019-03-19 12:10:07 +11:00
Peter Barker
5eb9622105 GCS_MAVLink: correct compilation for ALT_FRAME issue 2019-03-19 12:06:03 +11:00
Michael du Breuil
2ed1757353 AP_AHRS: Remove unused uptime 2019-03-19 11:42:54 +11:00
Michael du Breuil
94a1835a9b AP_AHRS: Tag most of AHRS_VIEW as WARN_IF_UNUSED 2019-03-19 11:42:54 +11:00
Michael du Breuil
c7c8c2a7c5 AP_AHRS: Tag a lot of the accessors as WARN_IF_UNUSED 2019-03-19 11:42:54 +11:00
Michael du Breuil
75caad52c0 GCS_MAVLink: Always check the return value on get_velocity_NED 2019-03-19 11:42:54 +11:00
Michael du Breuil
fcb54c2d68 AP_Frsky_Telem: Enforce the use of 0 when velocity_NED is not available 2019-03-19 11:42:54 +11:00
Michael du Breuil
0743b979fa AP_Logger: Don't log AHR2 unless the quat is available
This should not be a functional change, because if the secondary
attitude is available then the secondary quat will be as well
2019-03-19 11:42:54 +11:00
Michael du Breuil
8e8ce6be35 AP_Landing: Fix unconditional use of airspeed estimate, even when it was invalid 2019-03-19 11:42:54 +11:00
Andrew Tridgell
5571a84a49 AP_BattMonitor: added a "battery" backend for liquid fuel flow
This is for sensors that give a pulse for each fixed volume of fuel.

Output is:
    - current in Amps maps to in litres/hour
    - consumed mAh is in consumed millilitres
    - fixed 1.0v voltage
2019-03-19 11:35:59 +11:00
Peter Barker
6bf600c587 Tools: autotest: cope with being unable to reboot while armed 2019-03-19 10:53:37 +11:00
Andrew Tridgell
778b88cba2 GCS_MAVLink: disable reboot when armed
this prevents reboot on vehicles that have ARMING_REQUIRE=0, which
applies to some planes, but those vehicles tend to not use MAVLink
reboot anyway.
2019-03-19 10:53:37 +11:00
Mark Whitehorn
e71eae7d3b AP_AHRS: add new method get_quat_body_to_ned() 2019-03-19 10:46:25 +11:00
Mark Whitehorn
1c52458d72 AC_AttitudeControl: use new method get_quat_body_to_ned() 2019-03-19 10:46:25 +11:00
Peter Barker
3dc2db8d9a GCS_MAVLink: queue parameter request even if we can't fit a reply ATM 2019-03-19 10:37:09 +11:00
Peter Barker
4eba6d4fe2 GCS_MAVLink: exempt requested parameters from buffer space reservation
Fixes a problem where we reserve space to send replies but then do not
bypass the reserved-space checks when sending them.
2019-03-19 10:37:09 +11:00
Peter Barker
f0200a4d9b GCS_MAVLink: GCS_Common: correct overflows in bandwidth and count calculations 2019-03-19 10:37:09 +11:00
Peter Barker
227f6499d3 Copter: mark vtol_state and landed_state methods as override 2019-03-19 10:32:50 +11:00
Peter Barker
716b0fdc88 GCS_MAVLink: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker
bdcb48d835 AP_Mount: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker
9ab33fd3c4 AP_Mission: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker
3889c91974 AP_AHRS: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker
495111d67e AP_ADSB: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00