Peter Barker
1059183758
ArduCopter: tidy sending of winch messages
2023-11-20 19:25:25 +11:00
Peter Barker
e7ff4a43ca
ArduCopter: add and use AP_MAVLINK_COMMAND_LONG_ENABLED
2023-11-16 10:50:21 +11:00
Peter Barker
ca3b5a860a
ArduCopter: handle MAV_CMD_NAV_TAKEOFF via command_long and command_in
2023-10-24 12:59:19 +11:00
Peter Barker
a0ca3ffb22
ArduCopter: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Peter Barker
ad9a36c157
Copter: allow MAV_CMD_CONDITION_YAW to be run as COMMAND_INT
2023-09-26 11:35:55 +10:00
Peter Barker
c61022f596
Copter: handle DO_CHANGE_SPEED as both COMMAND_LONG and COMMAND_INT
2023-09-20 15:44:38 +10:00
Peter Barker
b3dd5c20c5
Copter: handle MISSION_START as both COMMAND_LONG and COMMAND_INT
2023-09-20 09:39:31 +10:00
Peter Barker
624cfc8fcc
ArduCopter: handle MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN as INT or LONG
2023-09-19 11:16:10 +10:00
Peter Barker
4c6918afea
ArduCopter: handle DO_PARACHUTE as both command_long and command_int
2023-09-19 11:14:29 +10:00
Peter Barker
5e9c2a04d0
Copter: allow motor tests to be triggered with COMMAND_INT
2023-09-13 18:14:31 +10:00
Peter Barker
619b1ecd47
ArduCopter: support preflight calibration via command_int
2023-09-13 17:24:07 +10:00
Peter Barker
38ba5da09b
Copter: allow winch commands to be run as both COMMAND_LONG and COMMAND_INT
2023-09-12 09:30:27 +10:00
Peter Barker
496e6b18ff
Copter: accept solo buttons as both long and int
2023-09-05 09:58:53 +10:00
Peter Barker
b725a632d6
ArduCopter: allow MAV_CMD_SOLO_BTN_PAUSE_CLICK as COMMAND_INT
2023-08-29 11:14:05 +10:00
Peter Barker
e922d7e3bd
ArduCopter: accept mount commands as command_int
2023-08-24 22:07:12 +10:00
Peter Barker
57eeda0439
ArduCopter: 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
Peter Barker
aa5a882de8
Copter: protect against bad vels/accels being sent through in guided mode
2023-05-25 09:42:28 +10:00
Randy Mackay
dec9584e5e
Copter: handle_command_mount override accepts msg
...
mavlink msg required to extra caller's sysid/compid
2023-05-17 12:38:49 +10:00
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