Commit Graph

512 Commits

Author SHA1 Message Date
Andrew Tridgell be6ee8b564 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-28 16:08:17 +09:00
m 6d349dd6d6 Copter: Pause/Continue in AUTO and GUIDED modes with SCurves 2022-03-12 08:00:49 +09:00
Leonard Hall 1cd8bfd4a6 Copter: WP Pause support 2022-03-12 08:00:49 +09: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
Peter Barker c2c013964d ArduCopter: tidy frame description strings
Before: AP: Frame: TRI/
After: AP: Frame: TRI
2021-06-21 16:30:37 +10:00
Peter Barker cdbf6d216e ArduCopter: remove HIL support 2021-06-15 09:47:31 +10:00
Leonard Hall 4bae8f03a4 Copter: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Pierre Kancir e0d181a793 Copter: use MAVLink POSITION_TARGET_TYPEMASK 2021-05-11 09:53:50 +10:00
Randy Mackay 5fcd2de4fa Copter: attitude target thrust-as-thrust bit moved from DEV_OPTIONS to GUID_OPTIONS 2021-04-20 09:56:38 +10:00
Peter Barker ff072c5215 Copter: stop sending POSITION_TARGET_LOCAL_NED in guided-angle mode
The values we were sending through were not relevant
2021-04-14 16:12:57 +09:00
Peter Barker 5df8dd8c50 Copter: move guided submode enumeration into ModeGuided 2021-04-14 16:12:57 +09:00
Andrew Tridgell 5a869174e5 Copter: use handle_landing_target() for precland
allows for jitter correction
2021-04-13 17:30:19 +10:00
Peter Barker 09a9bd73a4 ArduCopter: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Tatsuya Yamaguchi 0cce5699b2 Copter: change from control_mode to flightmode 2021-03-23 22:48:20 +11:00
Randy Mackay 2d9c6867f4 Copter: accept MISSION_START commands when vehicle is disarmed 2021-03-23 10:12:08 +09:00
Tatsuya Yamaguchi ed8384b45a Copter: add option to disable LANDING_GEAR 2021-03-17 10:41:11 +09:00
Randy Mackay be29b23195 Copter: do-mount-control ignored if no mount
Co-authored-by: srirajshukla <srirajshukla@gmail.com>
Co-authored-by: Yash Vadi <yvadi9274@yahoo.com>
2021-03-16 10:07:16 +09:00
Tom Pittenger 38fd43ac2c Copter: change SRx_ docs value 1 50 2021-03-03 18:17:22 +11:00
Hwurzburg 7d7a7a365d Copter: correct metadata for do_change_speed cmd 2021-02-24 16:06:41 +09:00
Randy Mackay 97c1445bce Copter: ensure send_position_target_global_int alt always absolute 2021-02-15 17:39:07 +11:00