Iampete1
da503a5e44
Plane: GCS_Mavlink: use base class DO_SET_HOME
2022-12-14 19:25:44 +11:00
Peter Barker
447392c7f4
Plane: factor out handle_manual_control_axes
2022-11-23 19:33:46 +11:00
Peter Barker
de4dda2d17
ArduPlane: change namespace of MultiCopter and FixedWing params
...
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Andrew Tridgell
0c14a28aa3
Plane: check for EFI enable in messages
2022-10-25 11:44:45 +11:00
Henry Wurzburg
58f8c34211
ArduPlane: update SRX descriptions
2022-10-19 23:26:45 +11:00
Andrew Tridgell
1421fccdac
Plane: send HYGROMETER_SENSOR data if available
2022-10-19 13:17:30 +11:00
Peter Barker
93c1b53a67
ArduPlane: stop sending BATTERY2 by default
2022-10-18 11:12:49 +11:00
Tom Pittenger
46bc30a40c
Plane: add guided radius to mavlink DO_REPOSITION
2022-10-11 09:35:28 -07:00
Peter Barker
3a61c97221
ArduPlane: do not send MSG_RPM if RPM not enabled
2022-09-28 20:10:21 +10:00
Peter Barker
81c138e0a4
Plane: remove logging of CMDI
...
This is a duplicate of the data logged into "MAVC"
2022-09-14 17:44:50 +10:00
Michael du Breuil
dba90ec227
Plane: Don't send HWSTATUS by default
2022-09-13 14:27:06 +10:00
Randy Mackay
c255b3b5b6
Plane: replace send-mount-status with send-gimbal-device-attitude-status
2022-08-15 20:29:25 -04:00
Michael du Breuil
f183b21fc5
Plane: Support vtol landing options on NAV_VTOL_LAND
...
This allows the same mission to contain both circular and straight
landing items, and doesn't require on the fly tweaking
2022-08-15 17:05:00 -07:00
Iampete1
ee778dbd3a
Plane: Quadplane: add option_is_set helper for Q_OPTIONS
2022-08-09 13:21:00 +10:00
Peter Barker
b0bee613d4
ArduPlane: add and use AP_ICENGINE_ENABLE
2022-07-22 08:48:16 +10:00
Iampete1
50024a6ec2
Plane: add AIS to ADSB stream rate
2022-07-12 09:39:54 +10:00
Randy Mackay
402ea2b72d
Plane: remove unused MSG_GIMBAL_REPORT
2022-06-07 09:27:47 +10:00
Peter Barker
6152b8618f
ArduPlane: remove handling of MAVLINK_MSG_ID_SET_HOME_POSITION
...
We decided to remove this after 4.2 was out in favour of
MAV_CMD_DO_SET_HOME which has been available since 2015.
The gcs-maintainers list was notified in Feburary.
2022-05-10 09:46:22 +10: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
Peter Barker
2784f8fa7f
Plane: remove persistent guided_WP_loc state
...
So instead of updating plane.guided_WP_loc and then calling
set_guided_WP(void) to copy that state into plane.next_WP_loc we pass
the new location in the call to set_guided_WP(const Location &loc).
avoidance was the only place which was not entirely over-writing
plane.guided_WP_loc. However, plane.next_WP_loc was updated to be the
current location when we entered guided mode. If we update the
horizontal/vertical avoidance now it is relative to the current
location, not the guided wp location, which could be quite important.
2022-03-22 10:14:40 +11:00
Peter Barker
1f5165349e
Plane: correct compilation when airspeed disabled
2022-03-20 21:47:05 +11:00
Andrew Tridgell
cc9b9813cb
Plane: review fixes
...
thanks Pete!
2022-03-10 07:34:20 +11:00
Andrew Tridgell
33bc067edf
Plane: fix NAV_CONTROLLER_OUTPUT in Q modes
...
Q modes don't always use wp_nav, but do use pos_control
AUTO and QRTL setup the plane navigation as well, so can use the L1
data
2022-03-10 07:34:20 +11:00
Andrew Tridgell
3fe9a55269
Plane: added APIs for lua ship landing
2022-03-10 07:34:20 +11:00
Andrew Tridgell
c54fb0f51b
Plane: link in AP_Follow
...
ready for ship landing
2022-03-10 07:34:20 +11:00
Peter Barker
452a5df0cc
ArduPlane: add RebootRequred to stream rate parameters
2022-03-01 11:01:12 +11:00
Peter Barker
458d43fc1e
ArduPlane: send deprecated message warning for MAVLINK_MSG_ID_SET_HOME_POSITION
2022-02-10 12:13:43 +11:00
Peter Barker
d914e4e63b
Plane: convert next WP alt to global frame in POSITION_TARGET_GLOBAL_INT
2022-02-09 16:09:41 +11:00
Peter Barker
10be59da17
ArduPlane: create and use location_from_command_t
2022-02-09 09:15:11 +11:00
Peter Barker
266d384ca7
ArduPlane: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Josh Henderson
9a3fed0263
Plane: move high_latency_air_temperature up
2022-01-19 18:21:32 +11:00
Andrew Tridgell
3273ead11b
Plane: use EKF climb rate estimate in VFR_HUD.climb
...
EKF estimate is both more accurate and less noisy
2022-01-18 13:26:31 +11:00
Peter Barker
7c3de472b2
Plane: support send_extended_sys_state
2021-11-09 10:22:24 +11:00
Peter Barker
6a12d3f5d9
Plane: use enum class for StickMixing
2021-11-03 18:06:00 +11:00
Tom Pittenger
c450145fd5
Plane: move ADSB mavlink handling from vehicles to common library
2021-10-14 19:55:27 -07:00
Josh Henderson
8af299f978
Plane: HIGH_Latency2 check get_temperature return and return INT8_MIN
2021-10-13 19:40:45 +11:00
Peter Barker
3e031e78e5
Plane: add comment about us sending airspeed error in wrong units
2021-10-05 11:20:55 +11:00
Iampete1
a0260b05b3
Plane: handle_guided_request per mode
2021-09-28 09:31:13 +10:00
Iampete1
1148bb1234
Plane: Quadplane: add loiter to alt then QLAND mode
2021-09-28 09:31:13 +10:00
Iampete1
cbfa4e5746
Plane: remove trim_radio mavlink option
2021-09-28 09:16:24 +10:00
Bob Long
728d1e76fe
Plane: clean up cm-to-m conversion in nav_control_output
2021-09-21 09:40:00 +10:00
Bob Long
f2d32fc800
Plane: quadplane: fix wp_dist reporting for VTOL landings
...
After hitting the approach stage of a VTOL landing in auto, nav_controller_output sends zero as the distance to waypoint.
2021-09-21 09:40:00 +10:00
Iampete1
1d5ea351c4
Plane: re-init RTL modes if home set
2021-09-15 14:10:15 +01:00
Peter Barker
3d34e061fe
ArduPlane: add and use HAL_QUADPLANE_ENABLED
2021-09-14 11:23:18 +10:00
TunaLobster
d31f3eb4c5
Plane: Add TRIM_PITCH_CD FLIGHT_OPTIONS bits for GCS and OSD
2021-08-31 09:32:10 +10:00
Andrew Tridgell
3228b0e670
Plane: added MCU_STATUS message
2021-08-25 07:11:31 +10:00
Andrew Tridgell
e1b73a5198
Plane: added slew rate and Dmod for PID_TUNING message
2021-08-19 12:08:54 +10:00
Peter Barker
5afaacc320
ArduPlane: stop sending SENSOR_OFFSETS
...
Only works for first compass instance.
We have all of these in parameters anyway.
2021-08-18 18:06: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
Josh Henderson
66cd413473
ArduPlane: remove POSITION_TARGET_TYPEMASK_FORCE_SET
2021-08-03 12:48:38 +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
Leonard Hall
57952861d6
Plane: PosControl Update
2021-05-24 20:13:37 +10:00
Pierre Kancir
8a0230e6d5
Plane: use MAVLink POSITION_TARGET_TYPEMASK
2021-05-11 09:53:50 +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
James O'Shannessy
aae092b88f
ArduPlane: Remove all unused geofence capability
...
ArduPlane: Remove missed geofence logic
2021-03-05 14:52:46 +11:00
James O'Shannessy
17fb585bf1
ArduPlane: Add support for AC_Fence
...
ArduPlane: Remove some geofence logic from ArduPlane
ArduPlane: Refactor action and mode return implementation
ArduPlane: Use polyfence to find the return point.
2021-03-05 14:52:46 +11:00
Peter Barker
f85e55a611
Plane: override mission-changing-command to reset some state
2021-03-04 11:59:33 +11:00
Tom Pittenger
5c8d3a87db
Plane: change SRx_ docs value 1 50
2021-03-03 18:17:22 +11:00
Andrew Tridgell
e94cf561d0
Plane: use rull euler control for fwd transition of tilt vectored planes
...
this gives strong yaw control and wind handling for tilt vectored
planes in forward transitions. It relaxes the yaw if the user either
demands yaw with stick input or plane navigation is demanding a roll
angle for a turn
When navigation is demanded we setup yaw rate for a coordinated turn
2020-12-21 12:05:50 +11:00
Iampete1
2820228ad6
Plane: only do_change_speed within FBW min and max
2020-10-13 10:21:52 +11:00
Iampete1
f972d3dc2f
Plane: Quadplane: tailsitter only change view once transision is complete
2020-09-30 18:15:42 +10:00
Andy Piper
d16872cca5
Plane: compile out ADSB mode if required
2020-09-24 08:22:16 -07:00
Samuel Tabor
10111f92d5
Plane: Rename SOARING_ENABLED to HAL_SOARING_ENABLED and don't compare to ENABLED.
2020-09-24 07:30:48 +10:00
Samuel Tabor
0a738395fa
Plane: Add THERMAL mode for thermal soaring.
2020-09-24 07:30:48 +10:00
Andy Piper
c057be8ed1
Plane: conditionally compile ADSB support
2020-09-22 09:33:51 +10:00
Michael du Breuil
6c6e4eff67
Plane: adhoc MAVLink DO_LAND_START changing mode to auto is known to be a GCS reason
2020-07-17 09:15:05 +09:00
Michael du Breuil
955a05c4d5
Plane: Refactor mav_cmd_do_reposition to be consistent with copter
2020-07-07 10:34:19 +10: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
Iampete1
f9ff8e5f11
Plane: align GCS PID with logged
2020-05-19 09:04:16 +10:00
Tom Pittenger
87c75332e7
Plane: ignore guided cmds from mavlink if we're in avoidADSB.
...
This change makes it behave like MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED
2020-05-05 10:51:16 +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
Randy Mackay
9a43a31f24
Plane: do not send ahrs3 mavlink message
2020-04-22 14:11:17 +09:00
Peter Barker
f5f4576835
ArduPlane: remove comment for already-removed in-delay-callback function
...
These are now attached to completely unrelated functions, which is
pretty bad.
2020-04-16 15:11:35 +09:00
Samuel Tabor
b9daae062c
AP_Soaring: Use enum class rather than typedef enum for states and hide details of these.
2020-04-08 09:11:54 +10:00
Samuel Tabor
2260fda4ec
AP_Soaring: Detect changes in active parameter/switch position.
2020-04-08 09:11:54 +10:00
Michael du Breuil
37be15b3cd
Plane: When stick mixing is disabled do not apply stick mixing to quadplane modes
2020-04-04 10:12:22 +11:00
Peter Barker
024c86bdab
Plane: let AP_Vehicle base class worry about scheduler delay callback
2020-01-21 11:37:28 +11:00
Peter Hall
a2e72de5ae
Plane: move to airspeed_estimate with pointer
2020-01-14 22:34:37 -07:00
Andrew Tridgell
6d4f4d7a3b
Plane: allow negative VFR_HUD throttle
2019-12-24 15:14:03 +11:00
Peter Barker
1db9201a90
Plane: let GCS base class handle proximity and rangefinder messages
2019-12-24 12:08:54 +11: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
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