Commit Graph

528 Commits

Author SHA1 Message Date
Andrew Tridgell 49740aa4cb Copter: enable send of EFI_STATUS 2022-11-21 19:33:35 +11:00
Peter Barker dabacc1a70 ArduCopter: do not send MSG_RPM if RPM not enabled 2022-10-04 13:38:30 +11:00
Randy Mackay 38665a7935 Copter: fix do-mount-control yaw scaling 2022-09-06 10:17:34 +10:00
Randy Mackay 33d214589f Copter: replace send-mount-status with send-gimbal-device-attitude-status 2022-08-15 20:29:25 -04:00
Leonard Hall 7dd196c7ea Guided Mode support MAV_CMD_DO_CHANGE_SPEED 2022-08-02 10:26:58 +10:00
Peter Barker 3480a8f9f9 ArduCopter: save some bytes by removing empty methods based on #ifs 2022-07-22 13:49:51 +10:00
Iampete1 cbaea15c96 Copter: add AIS to ADSB stream rate 2022-07-12 09:39:54 +10:00
Randy Mackay 7247bc50e5 Copter: remove unused MSG_GIMBAL_REPORT 2022-06-07 09:27:47 +10:00
Andrew Tridgell 705ec9040c Copter: allow VTOL_TAKEOFF and VTOL_LAND as synonyms
this allows is_takeoff_next() to be in common, and reduces confusion
if user selects VTOL_TAKEOFF in a GCS mission editor
2022-05-18 06:43:16 +10:00
Peter Barker fdb971fc0b Copter: remove duplicate logging of mavlink parachute enable/disable 2022-05-10 08:47:11 +09:00
Peter Barker c789755372 ArduCopter: 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 32cfe70a44 ArduCopter: 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 df6efc37ac ArduCopter: split AP_HAL_SITL and AP_SIM_ENABLED 2022-03-17 14:39:55 +11:00
murata 77d898c951 Copter: Change the process for errors 2022-03-08 14:36:19 -08:00
murata,katsutoshi 8037eaf4cf Update ArduCopter/GCS_Mavlink.cpp
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2022-03-08 14:36:19 -08:00
murata 926558a808 Copter: Change the process for errors 2022-03-08 14:36:19 -08:00
m f0e1b3eb9f Copter: Pause/Continue in AUTO and GUIDED modes with SCurves 2022-03-08 13:12:36 +09:00
Leonard Hall 18696e923e Copter: WP Pause support 2022-03-08 13:12:36 +09:00
Peter Barker c80cd1daa5 ArduCopter: add RebootRequred to stream rate parameters 2022-03-01 11:01:12 +11:00
Peter Barker 019d45524f ArduCopter: send deprecated message warning for MAVLINK_MSG_ID_SET_HOME_POSITION 2022-02-10 12:13:43 +11:00
Peter Barker 7fd3402e88 ArduCopter: create and use location_from_command_t 2022-02-09 09:15:11 +11:00
Peter Barker 4f2cf9ffa2 ArduCopter: provide default implemenation of handle_change_alt_request
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.

This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
Joshua Henderson 3a05cf2c7a Copter: add send_attitude_target 2022-02-07 08:24:35 +09:00
Peter Barker ee46b876cb Copter: fix compilation when ModeAuto is disabled 2022-01-29 08:24:27 +09:00
Peter Barker d1acc5df31 ArduCopter: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Joshua Henderson b917a71431 ArduCopter: add Airspeed support 2022-01-19 18:21:32 +11:00
Joshua Henderson 1ad9e86d98 Copter: set_attitude_target do not accept ill-defined quaternion 2022-01-19 18:03:17 +11:00
Leonard Hall fd8c180f57 Copter: Support MAVLINK_MSG_ID_SET_ATTITUDE_TARGET 2022-01-19 18:03:17 +11:00
Josh Henderson 01583e96fa ArduCopter: guided force_set restriction only for accel commands 2021-12-14 09:04:16 +09:00
Josh Henderson 3107c42fca Copter: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
m e8677216b6 Copter: Add support for pausing and continuing auto missions using COMMAND_INT and COMMAND_LONG 2021-11-25 08:18:27 +09:00
Tom Pittenger e7c31dab9c Copter: move ADSB mavlink handling from vehicles to common library 2021-10-14 19:55:27 -07:00
Josh Henderson 483d308781 Copter: GCSMavlink Guided inputs check force_set and reject 2021-10-11 19:52:15 -04:00
Josh Henderson 3d25eedeb2 Copter: GCS_Mavlink set_position_target_global_int() remove yaw_relative 2021-09-21 09:44:43 +09:00
Randy Mackay e0dd294806 Copter: guided supports using wpnav to reach position targets 2021-09-13 07:49:16 +09:00
Andrew Tridgell f7f63b715f Copter: no need to fabs() get_default_speed_down() as it does fabs already 2021-09-07 18:55:00 +09:00
Andrew Tridgell 4de4db2aac Copter: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell dabdf69e56 Copter: added slew rate and Dmod for PID_TUNING message 2021-08-19 12:08:54 +10:00
Peter Barker eb5fd84f67 ArduCopter: 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
Josh Henderson daf73e7174 ArduCopter: remove POSITION_TARGET_TYPEMASK_FORCE_SET 2021-08-03 12:48:38 +10:00
Iampete1 cc53db406d Copter: treat Auto RTL the same as Auto 2021-07-27 09:00:11 +09:00
Iampete1 885b12f179 Copter: command long DO_LAND_START enters Auto RTL pseudo mode 2021-07-27 09:00:11 +09:00
Leonard Hall a3c31f7ba1 Copter: Fix guided yaw bug. 2021-07-20 15:25:17 +09:00
Peter Barker 3684741517 ArduCopter: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Leonard Hall feae762e64 Copter: additional yaw modes and fixes 2021-07-10 20:25:05 +09:00
Leonard Hall b84fc7e5e9 Copter: Guided: stop aircraft if an invalid command is sent 2021-07-10 20:25:05 +09:00
Leonard Hall 8da8af973b Copter: Guided close gap between TARGET_LOCAL_NED and TARGET_GLOBAL_INT 2021-07-10 20:25:05 +09:00
Leonard Hall 635d13a106 Copter: support for acceleration-based AttitudeControl 2021-07-10 20:25:05 +09:00
Peter Barker af357ee45c ArduCopter: remove misleading NOINLINE comment
NOINLINE hasn't been used in years in these files
2021-07-08 21:28:38 +10:00
Stephen Dade 6c02cd1b54 ArduCopter: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10:00