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
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
499df8e0b3
Plane: Move MAVLink rangefinder up to parent
2018-05-16 23:21:41 +01:00
Michael du Breuil
8afc96097b
Plane: Send all distance sensors
2018-05-16 23:21:41 +01:00
Peter Barker
8da8c616f6
Plane: move sending of battery data up
2018-05-09 11:40:31 -07:00
Peter Barker
0fec702ba6
Plane: move data stream send up
2018-05-09 16:15:38 +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
8df625e81a
Plane: move try_send_message of heartbeats up to GCS_MAVLINK
2018-05-07 11:30:13 -06:00
Peter Barker
c1680d90a6
Plane: move try_send_message handling of VIBRATION up
2018-05-07 11:23:28 -06:00
Peter Barker
5cc98a9733
Plane: use AP_ServoRelayEvents singleton
2018-04-18 20:31:55 +09:00
Michael du Breuil
3e4288d604
Plane: Use RC_Channels instead of hal.rcin
2018-04-11 21:47:07 +01:00
Michael du Breuil
1af2155641
Plane: Check MANUAL_CONTROL target
2018-04-10 16:54:34 +01:00
Francisco Ferreira
bbe3e41162
Plane: fix method shadowing
2018-04-03 16:29:33 +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
Peter Barker
71bc3f5def
Plane: move common calibration functions up
2018-04-02 23:25:05 +01:00
Peter Barker
91c2ece7a2
Plane: factor out preflight calibration function
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
8a75a804e7
Plane: allow DataFlash to handle log sending
2018-03-26 09:22:47 +09:00
Peter Barker
5572d83ce9
Plane: move handling of get_home_position up
2018-03-19 10:32:37 +09:00
Peter Barker
7fd859da65
Plane: move home state into AP_AHRS
2018-03-19 10:32:37 +09:00
Peter Barker
f558bbca2e
Plane: use baro singleton
2018-03-08 21:20:05 -08:00
Peter Barker
5671b3173e
Plane: use AHRS singleton in GCS_MAVLink
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
David Ingraham
a6aeebad4b
Plane: Add support for AP_Gripper
2018-03-01 14:14:43 +11:00
Randy Mackay
dd6755f486
Plane: fix global-pos-int velocity direction to NED
2018-02-13 08:52:48 +09:00
Peter Barker
af007c5f0f
Plane: tighten handleMessage result type
2017-12-01 17:01:10 +00:00
Tom Pittenger
3d6cc59a6b
Plane: cleanup geofence warnings
2017-11-27 18:35:49 -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
Peter Barker
b4294c00f6
Plane: use gps singleton for GCS functions
2017-11-15 13:43:03 +00:00
Andrew Tridgell
8178ab4037
Plane: make mav_type in HEARTBEAT configurable
...
needed for qgc to setup for quadplanes
2017-10-20 15:41:06 +11:00
Andrew Tridgell
f81ec9b1b3
Plane: support simple accelcal
2017-10-10 10:57:38 +11:00
Lucas De Marchi
36c80daa86
ArduPlane: do not include version.h/ap_version.h
...
The interface provided by each vehicle should be used to get the
version.
2017-09-23 21:37:45 -07:00
Randy Mackay
667cdcdfcf
Plane: resolve compiler warning while using send_text
...
non-functional change
2017-09-20 12:14:38 +09:00
Randy Mackay
2073d65975
Plane: command-long DO_SET_HOME check first param is zero
2017-09-20 12:14:38 +09:00
Randy Mackay
640fb91329
Plane: accept DO_SET_HOME within COMMAND_INT
2017-09-20 12:14:38 +09:00
Peter Barker
7e631ba16c
Plane: move handling of SET_GPS_GLOBAL_ORIGIN up
2017-09-19 15:44:23 +09:00
Randy Mackay
3d7b6ddc40
Plane: support SET_GPS_GLOBAL_ORIGIN message
2017-09-19 10:30:15 +09:00
Peter Barker
1304b86d09
Plane: remove old DO_SET_MODE support
...
We no longer support setting anything except custom-modes
2017-09-19 01:24:11 +01:00
Peter Barker
aee939f891
Plane: move gcs_out_of_time into GCS object
2017-09-12 18:28:07 +01:00
Andrew Tridgell
73d6a05241
Plane: support change alt for GUIDED from qgc
2017-09-11 13:26:48 +10:00
Andrew Tridgell
11b9805dce
Plane: added MANUAL_CONTROL support
...
allows for joystick with QGC
2017-09-11 07:55:48 +10:00
Andrew Tridgell
baee71a5b4
Plane: added GUIDED takeoff for quadplanes
...
this allows takeoff in GUIDED mode in the same way as copters
2017-09-09 08:14:09 +10:00
Peter Barker
0c7c2a41c4
Plane: handle param_request_list in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
dd4bffb4a2
Plane: handle param_set in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
0db1711b1f
Plane: move send_autopilot_request calls up to GCS base class
2017-08-30 15:54:46 +01:00
Peter Barker
c15c1b84a4
Plane: add constant structure holding firmware version
2017-08-30 15:54:46 +01:00
Peter Barker
0708130b5e
Plane: correct bad case fallthrough
2017-08-30 15:54:46 +01:00
Peter Barker
9732b19f04
Plane: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
4321abd477
Plane: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
8eeae45300
Plane: use GCS_MAVLINK subclasses to handle set_mode
2017-08-16 11:58:10 +10:00
Michael du Breuil
833ec1336e
Plane: Expose the AFS instance to MAVLink
2017-08-15 15:14:56 +01:00
Peter Barker
d33cd801a1
Plane: send gps messages as separate queued messages
2017-08-09 16:18:22 +01:00
Peter Barker
c3e86840b2
Plane: move sending of gps_raw up
2017-08-09 16:18:22 +01:00
Peter Barker
933cd7a44c
Plane: move sending of system_time up
2017-08-09 16:18:22 +01:00
Peter Barker
4aee416c1d
Plane: move sending of camera_feedback up
2017-08-09 16:18:22 +01:00
Peter Barker
9eb96886e5
Plane: move sending of meminfo up
2017-08-09 16:18:22 +01:00
Peter Barker
a9c866f574
Plane: use new retry_deferred method
2017-08-05 23:14:36 +01:00
Peter Barker
4cb94b80ee
Plane: move try_send_message queued_param_send up
2017-08-03 14:34:33 +01:00
Peter Barker
089f6f4650
Plane: move try_send_message send_hwstatus up
2017-08-03 14:33:37 +01:00
Peter Barker
fee9e83881
Plane: move try_send_message mission handling up
2017-08-03 14:24:47 +01:00
Peter Barker
a740c10dfe
Plane: move try_send_message compass message handling up
2017-08-03 14:24:46 +01:00
Peter Barker
50cbbc324b
Plane: base SYS_STATUS load average on variable loop rate
2017-08-01 19:39:27 +01:00
Peter Barker
1cb6962f84
Plane: move common mavlink camera handling up
2017-07-28 14:32:58 +01:00
Peter Barker
2fb46a67dd
Plane: camera is responsible for taking distance-based-images and logging
2017-07-28 14:27:53 +01:00
Peter Barker
fbcd072d98
Plane: move gps inject handling up to GCS_MAVLINK
2017-07-27 12:03:25 +01:00
Peter Barker
87af817893
Plane: handle common GPS messages in base GCS_MAVLINK class
2017-07-25 14:00:45 +01:00
Peter Barker
ea892d278f
Plane: remove MSG_STATUSTEXT entirely
2017-07-18 16:12:59 +01:00
Peter Barker
7f0cb82797
Plane: move handling of PREFLIGHT_SET_SENSOR_OFFSETS up
2017-07-17 14:17:19 +01:00
Peter Barker
6047026b11
Plane: move handling of MAG_CAL command longs up
2017-07-17 14:17:19 +01:00
Peter Barker
2b6752e0b4
Plane: move MAV_CMD_START_RX_PAIR handling to base class
2017-07-17 14:17:19 +01:00
Peter Barker
36eab56178
Plane: move mavlink support for servo/relay up
2017-07-16 23:56:00 +01:00
Peter Barker
3af52d9db3
Plane: add common handling of mavlink command messages
2017-07-16 23:56:00 +01:00
Peter Barker
983686745e
Plane: move rally-point handling up
2017-07-14 01:28:05 +01:00
Peter Barker
a250f47f13
Plane: remove unneeded telemetry_delayed parameter
2017-07-12 17:01:36 +01:00
Peter Barker
c9c4b31e99
Plane: move handling of incoming statutext messages up
2017-07-12 16:52:24 +01:00
Peter Barker
1be52495f1
Plane: eliminate global static GCS_MAVLINK::send_home_all
2017-07-11 23:48:39 +01:00