Commit Graph

7404 Commits

Author SHA1 Message Date
Peter Barker dbc0f02649 ArduCopter: tidy sending of queued mount 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
Randy Mackay 2e5af08a10 Copter: 4.4.3 release notes 2023-11-14 12:44:53 +09:00
Gone4Dirt 399398fe64 Copter: Add heli motors param conversion helper 2023-11-14 10:24:03 +11:00
Randy Mackay 02a699c21b Copter: fix 440-beta1 release notes
TKOFF_TH_MAX was not included in Copter-4.4.0
2023-11-13 08:34:29 +09:00
muramura f3914dfc16 Copter: Change to Boolean value 2023-11-11 09:06:42 +09:00
Randy Mackay bbfc949b45 Copter: 4.4.3-beta1 release notes 2023-11-07 17:40:20 +09:00
Peter Barker 75f1459fa6 ArduCopter: add and use AP_TEMPCALIBRATION_ENABLED 2023-11-07 07:46:24 +11:00
Iampete1 935ea02a71 Copter: RTL: ensure rally point is in absolute alt frame as RTL_ALT_TYPE takes precedence 2023-11-01 19:06:39 +11:00
Ryan Friedman 1fa88bacd9 Copter: Add WARN_IF_UNUSED
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-01 18:30:54 +11:00
Peter Barker 2be4c0e3f5 Copter: correct defines around using payload place functionality
we need support for the actual payload place flight behaviour as well as the navigation item support
2023-10-31 11:34:03 +11:00
Nick Exton 98dfaba23d Copter: Use AP_Mount::clear_roi_target() to remove ROI 2023-10-30 08:28:23 +09:00
Peter Barker 875580069c ArduCopter: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 20563bf58d ArduCopter: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker 6b439bb2f3 ArduCopter: allow payload place to be compiled out of code 2023-10-27 14:15:53 +11:00
Peter Barker bf59fbc6d9 Copter: payloadplace: avoid using auto_takeoff functionality
Co-authored-by: Leonard Hall <leonardthall@gmail.com>

the methods being called to a lot more than we need or want them to.

In particular, they mix both horizontal and vertical control, but also may or may not run based on various aircraft conditions.

Simplify by simply calling position controller.
2023-10-27 14:15:53 +11:00
Peter Barker a820612fc9 Copter: payloadplace: fold methods back into caller
Co-authored-by: Leonard Hall <leonardthall@gmail.com>

these methods don't really add much, and prohibit future refactoring
2023-10-27 14:15:53 +11:00
Peter Barker af949590f8 Copter: remove unimplemented method declaration 2023-10-27 14:15:53 +11:00
Peter Barker e2157d8b9f Copter: remove un-needed PayloadPlace::run_should_run
make this look like the other handling, especially in terms of what we do if we shouldn't be running
2023-10-27 14:15:53 +11:00
Peter Barker 5820a9bc2f Copter: encapsulate PayLoadPlace state and methods into existing struct
... and make it a class
2023-10-27 14:15:53 +11:00
Peter Barker d46859aa96 ArduCopter: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false 2023-10-26 13:23:57 +11:00
Michael du Breuil d42a3ee971 Copter: Support not sending a status text on state change 2023-10-25 09:39:51 -07:00
Peter Barker ca3b5a860a ArduCopter: handle MAV_CMD_NAV_TAKEOFF via command_long and command_in 2023-10-24 12:59:19 +11:00
Iampete1 8018d30cc7 Copter: 4.4.2 stable release notes 2023-10-22 21:52:08 +01:00
Peter Barker cc799d3d7e Copter: encapsulate auto takeoff into an ojbect
similar to the encapsulation of "user takeoff" into an object
2023-10-18 13:47:11 +11:00
Randy Mackay 5f242795ea Copter: update 4.4.2-beta1 release notes 2023-10-13 16:32:11 +09:00
Randy Mackay 7a5e130268 Copter: 4.4.2-beta1 release notes 2023-10-13 16:32:07 +09:00
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