Peter Barker
85f339caae
Plane: remove annoying ice_update shim
2018-07-04 21:08:47 +01:00
Peter Barker
e404562544
Plane: remove vexing button_update shim
2018-07-04 21:08:47 +01:00
Peter Barker
c42fb6d797
Plane: remove pointless rangefinder_init shim function
2018-07-04 21:08:47 +01:00
Peter Barker
3bfa4c8678
Plane: use singletons in AP_Arming
2018-07-03 13:44:11 +10:00
Andrew Tridgell
bc503cc600
Plane: moved OSD to top level params
...
this is to give lots of depth for OSD params (which will be very
complex)
2018-06-27 14:55:00 +10:00
Alexander Malishev
75bf6984f5
Plane: added OSD support
2018-06-27 14:55:00 +10:00
Michael du Breuil
1c276e6af7
Plane: Remove unneeded wrapper functions
...
Also removes unneeded battery failsafe flag clearing
2018-06-27 11:39:35 +10:00
Peter Barker
f5e241af01
Plane: option to force arm, bypassing checks
2018-06-20 11:43:38 +10:00
Peter Barker
2b7f9247e8
Plane: use AP_FWVersion singleton
2018-06-18 19:10:37 +01:00
Michael du Breuil
12da35220c
Plane: Simplify radio trimming, improve MAVLink report
2018-06-11 16:29:36 -07:00
Peter Barker
22306c370b
Plane: factor out a Plane::set_home
2018-05-29 14:38:45 +10:00
Peter Barker
8b4ffb11f5
Plane: move sending of vfr_hud up
2018-05-29 13:00:40 +10:00
Peter Barker
ef77bea4eb
Plane: move sending of simstate up
2018-05-23 18:36:50 +10:00
Peter Barker
cdf4128900
Plane: move sending of POSITION_TARGET_GLOBAL_INT up
2018-05-18 20:26:37 +10:00
Peter Barker
5aefb90e61
Plane: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK
2018-05-17 15:48:06 +01:00
Peter Barker
6f8339028e
Plane: move send_attitude into GCS_MAVLINK_Plane
2018-05-17 18:28:43 +10:00
Peter Barker
7afd056e98
Plane: handle setting of ekf origin in GCS_MAVLink
2018-05-17 10:13:42 +10:00
Peter Barker
052b76d017
Plane: move Log_Write_Home_And_Origin into AP_AHRS
2018-05-17 10:13:42 +10:00
Michael du Breuil
b479f3760a
Plane: Remove some unneeded logging indirection
...
Saves 32 bytes on make px4-v2
2018-05-16 20:34:00 +10:00
Peter Barker
e10c23bd43
Plane: make scheduler track whether it has called the delay callback
2018-05-09 16:15:38 +10:00
Peter Barker
68497f27fa
Plane: move try_send_message handling of RC_CHANNELS up
2018-05-08 12:33:32 +01:00
Peter Barker
2e3a7fc5b6
Plane: remove rcmap member from AP_AdvancedFailsafe
2018-05-05 18:06:31 +09:00
night-ghost
aa53832a70
ArduPlane: devo telemetry support (RX705/707)
2018-04-24 10:44:28 +10:00
Peter Barker
5ef417a669
Plane: GPS now logs its own data
2018-04-18 13:50:55 +09:00
Michael du Breuil
7b7f5e242b
Plane: Simplify channel reading
2018-04-14 14:05:20 +10:00
Peter Barker
2b54113334
Plane: Baro does its own dataflash logging
2018-04-12 19:12:12 +01:00
Peter Barker
f6a185a3c3
Plane: factor vehicle's mavlink send_heartbeat
2018-04-03 13:05:19 +01:00
Peter Barker
58d41e40d3
Plane: let GCS_MAVLink calibrate airspeed sensor
...
Also remove useless zero_airspeed function
2018-04-02 23:25:05 +01:00
Peter Barker
65893cfca5
Plane: tidy handling of barometer calibrations
2018-04-02 23:25:05 +01:00
Michael du Breuil
7405bb7b85
Plane: Support new battery failsafes
2018-03-27 22:12:21 +01:00
Peter Barker
7fd859da65
Plane: move home state into AP_AHRS
2018-03-19 10:32:37 +09:00
Peter Barker
7c86c4fe61
Plane: use ins singleton
2018-03-16 00:37:35 -07:00
Peter Barker
f558bbca2e
Plane: use baro singleton
2018-03-08 21:20:05 -08:00
Peter Barker
0862d1454e
Plane: use AP::ahrs() for ADSB
2018-03-07 12:34:39 +00:00
Michael du Breuil
faea5d285c
Plane: Consolidate some of the PID logging details
2018-03-03 17:34:18 +12:00
Andrew Tridgell
27e4953ad8
Plane: disable HIL on px4-v2
...
this saves enough flash for px4-v2 to fit again
2018-03-03 13:35:39 +11:00
David Ingraham
a6aeebad4b
Plane: Add support for AP_Gripper
2018-03-01 14:14:43 +11:00
Peter Barker
3859e5dfb1
Plane: eliminate update_perf_logging scheduler table shim
2018-02-13 17:15:05 +11:00
Peter Barker
02540fdbf9
Plane: use AP_Scheduler's loop() function
2018-02-13 17:15:05 +11:00
Peter Barker
73092c3c30
Plane: use scheduler ticks in place of mainloop_count
2018-02-13 17:15:05 +11:00
Peter Barker
519e6c31d2
Plane: use AP::PerfInfo library
2018-02-13 17:15:05 +11:00
Andrew Tridgell
2fb6113098
Plane: use AP:PerfInfo class
2018-02-10 10:50:22 +11:00
Michael du Breuil
43972f8e56
Plane: Move battery logging code to AP_BattMonitor
2018-02-06 00:11:32 +00:00
Tom Pittenger
39a200b83f
Plane: allow control_mode enum to be in arbitrary order
...
never use control_mode >= BLAH. This requires the order to be important which greatly increases chance for unexpected behavior
Closes https://github.com/ArduPilot/ardupilot/issues/4656
2018-01-09 17:05:04 -08:00
Peter Barker
c4c6b3cc70
Plane: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Andrew Tridgell
30e224e705
Plane: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Tom Pittenger
512b327cd4
Plane: failsafe events to use enums instead of magical numbers : Non-functional change
2017-12-07 00:19:32 -08:00
Tom Pittenger
3d6cc59a6b
Plane: cleanup geofence warnings
2017-11-27 18:35:49 -08:00
Michael du Breuil
1a3ca43e86
Plane: Don't check FS_SHORT_TIMEOUT if it's disabled
...
Also renames the check_minimum_altitude() to reflect that it's only used
for FBWB.
2017-11-24 09:58:01 -08:00
Tom Pittenger
7271586a47
Plane: invert auto_state.no_crosstrack flag to be auto_state.crosstrack. Non-functional change
2017-11-23 09:25:18 -08:00