Commit Graph

79 Commits

Author SHA1 Message Date
Peter Barker f33e5e7847 ArduCopter: allow Copter to emit MISSION_STATE_PAUSED when paused in auto 2023-04-21 09:49:55 +10:00
Peter Barker 9e00b8eeac ArduCopter: add support for mavlink in-progress message 2023-02-21 17:07:41 +11:00
Peter Barker c5a3dfaa57 ArduCopter: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Peter Barker 0827ec0aaa ArduCopter: populate sysid/compid in reboot ACK 2022-09-14 20:16:38 +10:00
Peter Barker 3480a8f9f9 ArduCopter: save some bytes by removing empty methods based on #ifs 2022-07-22 13:49:51 +10: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
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
Stephen Dade 6c02cd1b54 ArduCopter: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10: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
Peter Barker 65adf5b4a9 ArduCopter: add do_disarm_checks boolean to disarm call
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
2021-01-12 08:48:44 +09:00
Andrew Tridgell abd3ae8f3b Copter: added mavlink reporting of airspeed and wind
when we have EKF3 estimation available
2020-12-11 15:21:41 +11:00
Randy Mackay 54b714a24e Copter: implement send_winch_status 2020-08-07 21:55:07 +09:00
Michael du Breuil c971fe0ca4 Copter: Support MAV_CMD_DO_REPOSITION on COMMAND_INT 2020-07-07 10:34:19 +10:00
Peter Barker 46832e9dee Copter: rename system_status as it won't be called from base class 2019-11-27 14:27:53 +11:00
Michael du Breuil b42b1c08c4 Copter: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Randy Mackay 36327d56de Copter: reject reboot request from GCS if auto esc cal on next reboot
this resolves an edge case in which the motors could spin up on the next reboot because the user didn't unplug the battery to reboot the flight controller
2019-10-15 07:41:44 +09:00
Peter Barker 1b29cf14a6 Copter: remove get_advanced_failsafe override; singleton to be used 2019-09-17 09:13:43 +10:00
Peter Barker 48a1b2f436 Copter: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Pierre Kancir c330b87592 ArduCopter: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker 6dce39cbe1 Copter: use AP_Arming methods to arm and disarm vehicle
Really just changing the namespace of init_arm_motors
2019-05-30 07:37:30 +09:00
Rajat Singhal 49554bf8d9 Copter: Add function for sending POSITION_TARGET_LOCAL_NED message 2019-03-29 09:11:14 +11:00
Peter Barker 9a2d5ac5a6 Copter: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker a5c18ff8f5 Copter: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker e22b29bce4 Copter: FrSky support has moved to GCS 2019-03-19 14:39:14 +11:00
Peter Barker 227f6499d3 Copter: mark vtol_state and landed_state methods as override 2019-03-19 10:32:50 +11:00
Peter Barker 281dbfcef8 Copter: support send_extended_sys_state 2019-03-12 09:16:13 +09:00
Peter Barker eed73749f9 Copter: move sending of send_pid_tuning up 2019-03-05 10:41:56 +11:00
Peter Barker 039aa3f3b3 Copter: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing 2019-02-19 14:09:59 +11:00
Peter Barker f759c7ac7e Copter: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker 9bc23d3f28 Copter: move try_send_message of nav_controller_output up 2019-02-19 10:08:00 +11:00
Peter Barker 0dce6172f2 Copter: use visual odometry singleton 2019-02-15 16:56:13 +11:00
Peter Barker 5ae52038fa Copter: make setting of home boolean in preparation for sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker 270fa2dfb9 Copter: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker 609b4f87c5 Copter: move handling of RC_CHANNELS_OVERRIDE up 2019-02-05 13:59:21 +11:00
Peter Barker 7197cf9e5c Copter: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Michael du Breuil 6bb84bfcc5 Copter: Remove unneeded GCS rally override 2019-01-08 10:39:50 +11:00
Peter Barker f8a05564e8 Copter: split SYS_STATUS and POWER_STATUS onto separate ap_messages 2018-12-18 14:05:20 +11:00
Peter Barker 0e6efd6de0 Copter: move accept_packet to GCS_MAVLink base class 2018-12-14 12:44:31 +11:00
Peter Barker 8ac5ee02ea Copter: GCS_MAVLink now uses Mission singleton 2018-12-13 10:52:52 +09:00
Peter Barker 72440e2af3 Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set 2018-11-06 11:26:38 +09:00
Peter Barker 1d322046b0 Copter: tidy up send_pid_tuning 2018-11-06 08:19:15 +09:00
Peter Barker 859f4828a1 Copter: move handling of gimbal messages up
Copter: move handling of mav_cmd_do_mount_control up

Copter: move handling of deprecated mount messages up

Copter: move handling of command_do_set_roi up

Copter: move handling of command_do_set_roi up

Copter: mount no longer takes ahrs in constructor
2018-10-30 17:19:14 +11:00
Peter Barker f005ee4a4c Copter: use camera singleton to get camera rather than callback 2018-08-31 15:48:56 +10:00
Peter Barker ec52c22c7c Copter: GCS_MAVLink uses compass singleton, stop implementing get_compass 2018-08-31 15:48:56 +10:00
Peter Barker 7fc580921a Copter: handle command_long in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker aa4ee64af2 Copter: handle command_int in base class 2018-07-06 09:43:09 +10:00
Peter Barker 485cafb343 Copter: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker 6d9a131a26 Copter: make VFR_HUD always return height above MSL 2018-06-05 09:38:20 +10:00