Peter Barker
42ce0867ae
ArduPlane: move handling of DO_SET_HOME up to GCS_MAVLink base class
2024-04-09 09:35:16 +10:00
Andrew Tridgell
cbe5cf8c81
Plane: support precland in QLAND for pos, velocity and descent rate
...
allow full override in QLAND
2024-03-06 09:39:51 +11:00
Peter Barker
127961e692
Plane: break out a method for set-attitude-target
2024-01-24 19:10:35 +11:00
Peter Barker
f96add13e9
Plane: break out a method for set-position-target-local-ned
2024-01-24 19:10:35 +11:00
Peter Barker
5bc2b1a09b
Plane: break out a method for set-position-target-global-int
2024-01-24 19:10:35 +11:00
Peter Barker
57535b538e
ArduPlane: handle RADIO_STATUS is GCS base class
2024-01-24 18:43:15 +11:00
Peter Barker
2f0cb8b650
ArduPlane: use virtual method for GCS_MAVLink::handle_message
...
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
Peter Barker
6ee5ab41fd
ArduPlane: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Peter Barker
4b285fa579
ArduPlane: add and use AP_MAVLINK_COMMAND_LONG_ENABLED
2023-11-16 10:50:21 +11:00
Peter Barker
e0eacdc197
ArduPlane: handle DO_SET_MISSION_CURRENT as both long and int
2023-11-16 10:50:21 +11:00
Paweł Rozenblut
1c6b4debe2
Plane: send attitude target message implementation (for quadplanes)
...
Minor modification - implementation of the send_attitude_target msg. streaming (for quadplanes). The code is analogous in its structure and functionality to the implementation in Copter
Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2023-10-25 09:53:13 +11:00
Peter Barker
a97adcf9cd
ArduPlane: handle MAV_CMD_NAV_TAKEOFF via command_long and command_in
2023-10-24 12:59:19 +11:00
Peter Barker
11ffb059ae
Plane: accept MAV_CMD_DO_AUTOTUNE_ENABLE as both long and int
2023-09-26 11:36:57 +10:00
Peter Barker
63c88fea58
Plane: handle DO_PARACHUTE as both COMMAND_LONG and COMMAND_INT
2023-09-20 17:37:59 +10:00
Peter Barker
06f1ac07bc
Plane: accept motor test as both command long and command int
2023-09-19 20:31:03 +10:00
Peter Barker
ee316f04ed
Plane: allow DO_VTOL_TRANSITION as both LONG and INT commands
2023-09-13 21:25:14 +10:00
Peter Barker
c1b5e9a446
ArduPlane: support preflight calibration via command_int
2023-09-13 17:24:07 +10:00
Peter Barker
445f1fa272
Plane: handle DO_CHANGE_SPEED as COMMAND_INT
2023-09-12 09:22:36 +10:00
Peter Barker
7df3d29e9d
ArduPlane: pass mavlink_message_t to handle_command_*_packet
...
the "special case" blocks are getting longer and longer. Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
bugobliterator
f3159eeb58
ArduPlane: move sysid_my_gcs to be public
2023-06-17 14:49:22 +10:00
Peter Barker
068443718e
GCS_MAVLink: deprecate use of MISSION_SET_CURRENT message
...
The mavlink command MAV_CMD_DO_SET_MISSION_CURRENT has been in place since January 2019 and is superior to this.
2023-04-18 10:24:26 +10:00
Peter Barker
c18276e19b
ArduPlane: add support for mavlink in-progress message
2023-02-21 17:07:41 +11:00
Peter Barker
447392c7f4
Plane: factor out handle_manual_control_axes
2022-11-23 19:33:46 +11:00
Andrew Tridgell
1421fccdac
Plane: send HYGROMETER_SENSOR data if available
2022-10-19 13:17:30 +11:00
Peter Barker
fd4a00a654
ArduPlane: stop libraries including AP_Logger.h in .h files
...
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h
This necessitated moving The PID_Info structure out of AP_Logger's
namespace. This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!
There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Josh Henderson
9a3fed0263
Plane: move high_latency_air_temperature up
2022-01-19 18:21:32 +11:00
Peter Barker
7c3de472b2
Plane: support send_extended_sys_state
2021-11-09 10:22:24 +11:00
Iampete1
cbfa4e5746
Plane: remove trim_radio mavlink option
2021-09-28 09:16:24 +10:00
Peter Barker
5dab6b7275
Plane: remove pointless override of send_simstate
...
This is dangling after removing HIL stuff
2021-08-10 09:48:34 +10:00
Stephen Dade
d6a123b58b
ArduPlane: Add support for HIGH_LATENCY2 messages
2021-07-07 17:10:05 +10:00
Peter Barker
055e82276e
ArduPlane: remove HIL support
2021-06-15 09:47:31 +10:00
Peter Barker
aa973c5245
ArduPlane: move handling of last-seen-SYSID_MYGCS up to GCS base class
2021-04-07 17:54:21 +10:00
Peter Barker
f85e55a611
Plane: override mission-changing-command to reset some state
2021-03-04 11:59:33 +11:00
Buzz
0f5177b291
Plane: Support a set of offboard MAVLink guided controls with rates
...
+ 3 rounds of fixes
2020-05-20 15:03:21 +10:00
Peter Barker
f17ea78a6c
Plane: move sending of WIND message to GCS namespace
2020-05-05 10:29:13 +10:00
Peter Barker
e75fa6fb15
Plane: move sending of AOA_SSA message to GCS namespace
2020-05-05 10:29:13 +10:00
Peter Barker
5447992558
Plane: rename system_status as it won't be called from base class
2019-11-27 14:27:53 +11:00
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08: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
Pierre Kancir
33e12a127c
ArduPlane: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00
Michael du Breuil
171f4ac3d3
Plane: Include needed AP_Logger header
2019-04-05 20:12:53 +11:00
Peter Barker
d0bf257357
Plane: move various sensor status flag updates up
2019-03-26 11:03:21 +11:00
Peter Barker
1a55f0ffab
Plane: FrSky support has moved to GCS
2019-03-19 14:39:14 +11:00
Peter Barker
94899bd2ed
Plane: move sending of send_pid_tuning up
2019-03-05 10:41:56 +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
b6bf8d8368
Plane: make setting of home boolean in preparation for sanity checks
2019-02-15 08:28:45 +11:00