Peter Barker
5447992558
Plane: rename system_status as it won't be called from base class
2019-11-27 14:27:53 +11:00
Andrew Tridgell
2b27cd2ce9
Plane: Add EFI Support
2019-11-17 20:10:54 +11:00
Peter Barker
87058ef141
Plane: rename parameter to avoid name conflict with lock
2019-11-12 16:33:12 +11:00
Peter Barker
ba90a1a5df
Plane: let GCS superclass specify compass and param float capabilitiy
2019-11-05 11:26:23 +11:00
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Andrew Tridgell
ff400243e0
Plane: added a new TAKEOFF flight mode
...
takeoff then circle in direction of takeoff
2019-10-17 12:19:43 +11:00
Michael du Breuil
562b155f63
Plane: Remove unused geofence enable reason
2019-09-23 17:31:33 -06:00
Peter Barker
a761cb62de
Plane: remove get_advanced_failsafe override; singleton to be used
2019-09-17 09:13:43 +10:00
Peter Barker
466681a94e
Plane: factor out a handle_command_int_do_reposition
2019-08-14 18:30:24 +10:00
Peter Barker
7e5a6f1895
Plane: avoid allocate a GCS_MAVLINK per mavlink channel
2019-08-14 18:25:43 +10:00
Peter Barker
05c608e725
Plane: use MAV_FRAME_GLOBAL instead of MAV_FRAME_GLOBAL_INT in send_position_target
2019-07-30 10:55:21 +10:00
Peter Barker
20a20bde65
Plane: accept MAV_FRAME_GLOBAL for set_position and repositioning
2019-07-30 10:55:21 +10:00
Leonard Hall
157f786adf
Global: rename desired to target in PID info
2019-07-25 17:38:15 +09:00
Pierre Kancir
33e12a127c
ArduPlane: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00
Peter Barker
37014bdfe1
Plane: split RC_CHANNELS messages onto separate ap_message ids
2019-07-09 13:08:45 +10:00
Peter Barker
3e4366906b
Plane: allow GCS MAVLink base class to handle out-of-time for sending messages
2019-06-25 10:29:40 +10:00
Peter Barker
400aa53654
Plane: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
2019-05-30 07:37:30 +09:00
Tom Pittenger
ade6281923
Plane: use #if ADVANCED_FAILSAFE == ENABLED just like Rover and Copter
2019-04-03 17:46:50 -07:00
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
2019-04-02 16:28:52 +11:00
Peter Barker
a372428ec5
Plane: use sanitize method rather than location_sanitize function
2019-04-02 10:19:38 +11:00
Peter Barker
bbc38f41eb
Plane: use convenience manual_override method
2019-03-27 22:33:47 -07:00
Peter Barker
7dafde5783
Plane: stop passing dataflash into handle_radio_status
2019-03-27 10:38:39 +11:00
IamPete1
ffc94f19cd
Plane: use AHRS view for all vtol modes
2019-03-26 10:41:55 +11:00
Peter Barker
1a55f0ffab
Plane: FrSky support has moved to GCS
2019-03-19 14:39:14 +11:00
Peter Barker
f940564f2b
Plane: use enum class for AltFrame enumeration
2019-03-19 10:31:18 +11:00
Peter Barker
0edba9070f
Plane: move sending of RPM message up
2019-03-16 10:33:01 +09:00
Peter Barker
ca7566fff9
Plane: use enum class for ArmingMethod and ArmingRequired
2019-03-12 19:48:14 +11:00
Peter Barker
bd444d97dc
Plane: move sending of airspeed_autocal into AP_AirSpeed
2019-03-06 11:32:52 +11:00
Peter Barker
94899bd2ed
Plane: move sending of send_pid_tuning up
2019-03-05 10:41:56 +11:00
Mark Whitehorn
487ad7a90f
Plane: add QACRO mode for quadplanes
...
use acro_r/p/y_rate params in qacro
port ACRO throttle handling from copter
handle non-tailsitter controls
2019-03-05 10:13:20 +11:00
Peter Barker
34853fb1bf
Plane: move update_sensor_status_flags into GCS subclasses
2019-02-19 14:09:59 +11:00
Peter Barker
a3c13fc028
Plane: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing
2019-02-19 14:09:59 +11:00
Peter Barker
33541dcbf6
Plane: GCS_MAVLink takes care of mavlink capabilities
2019-02-19 13:14:52 +11:00
Peter Barker
5690a0ea4a
Plane: move try_send_message of nav_controller_output up
2019-02-19 10:08:00 +11:00
Peter Barker
0c880a4c3e
Plane: remove redundant home-setting sanity checks
2019-02-15 08:28:45 +11:00
Peter Barker
b6bf8d8368
Plane: make setting of home boolean in preparation for sanity checks
2019-02-15 08:28:45 +11:00
Peter Barker
30671a6743
Plane: move handling of command-int MAV_CMD_DO_SET_HOME up
...
Plane: eliminate set_home shim around AP_AHRS::set_home
2019-02-13 09:42:26 +11:00
Peter Barker
6e1dc79b75
Plane: move handling of RC_CHANNELS_OVERRIDE up
2019-02-05 13:59:21 +11:00
Peter Barker
b48cb1e367
Plane: move sending of sys_status message up
2019-02-05 11:07:39 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
99a93112b4
Plane: remove PX4-specific code that disables overrides on reboot
2019-01-18 17:32:02 +11:00
Peter Barker
b258e89a2d
Plane: adjust for Location_Class and Location unification
2019-01-16 11:45:29 +11:00
Peter Barker
acafb0f3c1
Plane: adjust for location flags being moved out of union
2019-01-16 11:45:29 +11:00
Michael du Breuil
64e152fbc0
Plane: Remove unneeded GCS rally override
2019-01-08 10:39:50 +11:00
Andrew Tridgell
97e54f6359
Plane: allow mavlink when in sensor error
2019-01-04 19:17:31 +11:00
Peter Barker
d133f998c5
Plane: split SIMSTATE, AHRS2 and AHRS3 onto their own ap_message ids
2018-12-19 13:19:23 +11:00
Peter Barker
54022b6b57
Plane: split DISTANCE_SENSOR onto its own ap_message id
2018-12-19 07:24:37 +11:00
Peter Barker
17f244ce9f
Plane: try_send_message caller checks telemetry_delayed
2018-12-18 14:25:56 +11:00
Peter Barker
5137c0ab5f
Plane: split SYS_STATUS and POWER_STATUS onto separate ap_messages
2018-12-18 14:05:20 +11:00
Michael du Breuil
e8885ee1a5
Plane: Fly a planned abort sequence if available
2018-12-15 09:03:25 +11:00
Nikhil Upadhye
d1e93bae83
Plane: adding new mode QAUTOTUNE
...
copter like autotune support for quadplanes and tailsitter in VTOL mode.
cleanup
2018-12-14 16:33:11 +11:00
Peter Barker
9d323b4b90
Plane: move accept_packet to GCS_MAVLink base class
2018-12-14 12:44:31 +11:00
Peter Barker
2978da5ecd
Plane: GCS_MAVLink now uses Mission singleton
2018-12-13 10:52:52 +09:00
Peter Barker
bcf68a9103
Plane: split MSG_SCALED_PRESSURE into three separate messages
2018-12-12 21:36:01 +11:00
Peter Barker
18d4df8d4f
Plane: split MSG_RAW_IMU1 into per-IMU ap_messages
2018-12-10 12:52:41 +09:00
Peter Barker
67042d39d1
Plane: send both SYS_STATUS or POWER_STATUS or neither
2018-12-10 12:52:41 +09:00
Peter Barker
d1727d26a1
Plane: rename send_extended_status1 to send_sys_status
2018-12-10 12:52:41 +09:00
Peter Barker
7f5c0db949
Plane: adjust for new update entry points into GCS
2018-12-10 12:52:41 +09:00
Peter Barker
1ca67df663
Plane: add parameter stream to list-of-all-streams
2018-12-10 12:52:41 +09:00
Peter Barker
edd4f6d14d
Plane: rename MSG_EXTENDED_STATUS2 to MSG_MEMINFO
2018-12-04 18:01:38 +11:00
Peter Barker
de479032ba
Plane: rename MSG_RAW_IMU2 and MSG_RAW_IMU3 to reflect what they send
2018-12-04 17:45:32 +11:00
Peter Barker
03b71e1123
Plane: remove pointless wrappers around gcs functions
2018-11-23 10:56:17 +11:00
Peter Barker
12c67ecaab
Plane: move sending of optical flow status up to base class
2018-11-13 10:40:23 +11:00
Andrew Tridgell
85a1f9e40d
Plane: added ACCZ pid tuning
2018-11-12 15:36:39 +11:00
Peter Barker
27b444f4e8
Plane: move handling of gimbal messages up
...
Plane: move handling of mav_cmd_do_mount_control up
Plane: move handling of deprecated mount messages up
Plane: move handling of command_do_set_roi up
Plane: mount no longer takes ahrs in constructor
2018-10-30 17:19:14 +11:00
Peter Barker
1aa75e4c3e
Plane: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
558158c62a
Plane: GCS_MAVLink uses compass singleton, stop implementing get_compass
2018-08-31 15:48:56 +10:00
Michael du Breuil
3d923d0572
Plane: Send a quadplane version of NAV_CONTROLLER_OUTPUT
2018-08-07 09:49:01 +10:00
Andrew Tridgell
1d675390ab
Plane: make soaring an optional build feature
...
this disables soaring on px4-v2, saving 5k of flash
This is needed to consider pr #9042 , which takes a lot of flash space
2018-07-30 13:09:15 +10:00
Peter Barker
94ad85a67d
Plane: handle MAV_CMD_ACCELCAL_VEHICLE_POS in GCS base class
2018-07-06 09:43:09 +10:00
Peter Barker
d077723028
Plane: handle command_int in GCS base class
2018-07-06 09:43:09 +10:00
Peter Barker
d76e7d210b
Plane: handle command_long in GCS base class
2018-07-06 09:43:09 +10:00
Peter Barker
320e24af65
Plane: move mavlink reboot code up to base class
2018-07-03 12:12:25 +10:00
Andrew Tridgell
d454bc555e
Plane: added ESC_TELEMETRY to mavlink streams
2018-06-21 10:48:02 +10:00
Peter Barker
f984e5e31d
Plane: use magic force arm/disarm definitions
2018-06-20 11:43:38 +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
2cdcca2841
Plane: move handling of MAV_CMD_DO_GRIPPER up
2018-06-11 19:07:39 +01:00
Michael du Breuil
a98a8d0789
Plane: Update to support new RC_Overrides conventions
2018-06-05 09:51:09 +10:00
Michael du Breuil
749861f8ad
Plane: Only send healthy airspeed reports
2018-06-05 09:27:19 +10:00
Peter Barker
9437e893e5
Plane: move try_send_message handling of EKF_STATUS_REPORT up
2018-06-01 16:12:45 +01:00
Peter Barker
ac729f4614
Plane: lock home when it is set from the GCS
2018-05-29 14:38:45 +10:00
Peter Barker
18c4823427
Plane: return MAV_RESULT_ACCEPTED for setting home to current location
2018-05-29 14:38:45 +10:00
Peter Barker
bc9df01d21
Plane: remove sending of statustext for home location
2018-05-29 14:38:45 +10:00
Peter Barker
22306c370b
Plane: factor out a Plane::set_home
2018-05-29 14:38:45 +10:00
Peter Barker
ad600fff68
Plane: split home-set and home-locked state
2018-05-29 14:38:45 +10:00
Peter Barker
5a087ee7e2
Plane: create persist_streamrates() callback to indicate persistence
2018-05-29 13:08:29 +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
2a68eca273
Plane: add type-correctness for stream messages
2018-05-22 11:21:25 +10:00
Peter Barker
2112d76b75
Plane: move try_send_message of servo-output-raw up
2018-05-21 19:08:08 +01:00
Peter Barker
cdf4128900
Plane: move sending of POSITION_TARGET_GLOBAL_INT up
2018-05-18 20:26:37 +10:00
Peter Barker
57cc0cac97
Plane: GCS_MAVLink base class now uses same ekf call to get alt
2018-05-17 15:48:06 +01: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
1545b9b161
Plane: remove arguments to send_home and send_ekf_origin
2018-05-17 20:42:36 +10:00
Peter Barker
6f8339028e
Plane: move send_attitude into GCS_MAVLINK_Plane
2018-05-17 18:28:43 +10:00
Peter Barker
1f9d1ee5a2
Plane: move try_send_message sending of scaled_pressure up
2018-05-17 15:37:14 +10:00
Peter Barker
0e3ad3f023
Plane: move try_send_message sending of sensor offsets up
2018-05-17 15:37:14 +10:00
Peter Barker
e6411c6804
Plane: move try_send_message of RAW_IMU up to GCS_MAVLINK
2018-05-17 15:37:14 +10:00