Commit Graph

7377 Commits

Author SHA1 Message Date
Mykhailo Kuznietsov 3a231f8b32 ArduCopter: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker 521d21765e ArduCopter: allow for compilation without AP_RTC_ENABLED 2023-10-11 19:17:27 +11:00
Rhys Mainwaring b585d61809 Copter: remove duplicate friend declaration
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-09 09:05:19 +09:00
muramura 5ce731fa00 Copter: Two processes in one 2023-10-04 19:23:29 +11:00
Peter Barker cd92e301ab ArduCopter: don't send fence_status mavlink message if fence not compiled in 2023-10-04 19:13:23 +11:00
Peter Barker ef1952e1c0 Copter: acccept DO_LAND_START as both int and long 2023-09-29 13:55:32 +10:00
Peter Barker d54d9ae922 ArduCopter: accept several mode-changing commands via command_int
... as well as via command_long
2023-09-29 08:56:50 +10:00
Peter Barker a0ca3ffb22 ArduCopter: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int 2023-09-27 11:27:45 -07:00
muramura d36667c84a Copter: Change to ternary operator 2023-09-27 08:12:01 +10:00
Randy Mackay 28e5ea152e Copter: 4.4.1 release notes 2023-09-26 12:37:42 +09:00
Peter Barker efc2c39c96 ArduCopter: remove COMPASS_CAL messages from streamrates if tumble cal disabled
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10: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
Randy Mackay b407591663 Copter: 4.4.1-beta2 release notes 2023-09-14 16:24:18 +09: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
rishabsingh3003 8a1fa0e096 Copter: Allow fast descend while Prec Landing 2023-09-13 11:49:16 +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 0b225a825c ArduCopter: use AHRS to get Locations from origin-offset 2023-09-12 09:29:26 +10:00
Ep Pravitra 9700e65d19 AP_AdvancedFailsafe: option to automatically set mode to auto when datalink is loss
When enabled, it ensures vehicle enters AUTO even if it is currently in other autonomous modes (for example Guided)
2023-09-12 09:09:39 +10:00
Peter Barker 26b7092c1a ArduCopter: correct logging when rally disabled 2023-09-05 22:23:51 +10:00
Randy Mackay 4ce65bb3f7 Copter: 4.4.1-beta1 release notes 2023-09-05 19:51:35 +09: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
Randy Mackay c2be0a5767 Copter: 4.3.8 release notes 2023-08-24 20:28:28 +09:00
Andrew Tridgell b3954afe52 Copter: add friend for AP_ExternalControl_Copter 2023-08-24 07:46:06 +10:00
muramura 79a59d2739 Copter: The preprocessor determines whether rangefinder initialization is possible 2023-08-23 22:31:15 +10:00
muramura 6820e96ca8 Copter: Change from fast_loop method to FAST_TASK(NFC) 2023-08-23 19:24:01 +09:00
Andrew Tridgell c452325de2 Copter: added AP_ExternalControl support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +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
Randy Mackay 7d264f1700 Copter: 4.4.0 release notes 2023-08-18 17:37:15 +09:00
Randy Mackay f3e56cc7a0 Copter: 4.3.8-beta1 release notes 2023-08-16 10:03:23 +09:00
Randy Mackay 01387335a9 Copter: 4.3.7 release notes fix 2023-08-16 10:03:16 +09:00
Shiv Tyagi 1c38be93c5 Copter: use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
Andy Piper 49bdf7a295 Copter: rename dshot define 2023-08-15 06:53:48 +10:00
bugobliterator 73aed28be7 ArduCopter: use HAL_ENABLE_DSHOT instead of DISABLE_DSHOT 2023-08-15 06:53:48 +10:00
bugobliterator 6d4b5cfc1b Copter: use DISABLE_DSHOT value instead of if defined 2023-08-15 06:53:48 +10:00
Randy Mackay 495c8c25ac Copter: 4.4.0-beta4 release notes 2023-08-14 08:51:35 +09:00
muramura 8f13826383 Copter: Remove code that will never be executed 2023-08-11 12:46:06 -07:00
arshPratap 5f17e33b39 AP_Arming: Added DDS Method for Arming/Disarming 2023-08-11 13:35:49 +10:00
Peter Barker 3fd0886574 Copter: rely on magic COMMAND_INT transform for MAV_CMD_DO_PAUSE_CONTINUE 2023-08-09 07:44:44 +10:00
Peter Barker 201e276f00 ArduCopter: avoid use of MINIMIZE_FEATURES define in Copter directory 2023-08-08 10:35:19 +10:00
Randy Mackay 8499a6bd78 Copter: 4.4.0-beta4 release notes 2023-08-01 20:01:32 +09:00
Peter Barker d41e677c08 Copter: correct return error return codes for DO_FOLLOW
in the case it wasn't compiled in the return code would be correct.

in the case that the parameter was invalid we would return UNSUPPORTED , which is wrong, it should be DENIED
2023-08-01 10:43:34 +10:00
Peter Barker a79a8ca659 ArduCopter: rely on conversion from long to int for DO_FOLLOW
we have code which tries to handle commands coming in as command long as command int.

Change to rely on that code working, rather than handling both command-long and command-int variants
2023-08-01 10:43:34 +10:00
Iampete1 d927af03e9 Copter: remove heli motors param checks, moved to motors arming check 2023-08-01 09:12:51 +09:00