Peter Barker
72ab4e5e45
ArduCopter: avoid use of Location .alt field
...
various changes to avoid use of the Location .alt field, which should be private.
Introduces several new helper functions on Location to help with this
2025-07-22 17:46:53 +10:00
Leonard Hall
6d3bc4a5b5
Copter: Support - AP_Math: Remove units on get_horizontal_distance
2025-07-17 09:12:37 +09:00
Leonard Hall
74926350cc
Copter: Support - AutoYaw: Use radians for consistency
2025-07-08 09:24:39 +09:00
Iampete1
f91d001803
Copter: DO_CHANGE_SPED: use enum and add cms postfix to setters
2025-07-08 08:57:02 +09:00
Leonard Hall
f8f720a0c0
Copter: remove most of the _cd() functions
2025-07-07 09:28:56 +09:00
Leonard Hall
089b70ca72
Copter: Convert copter to radians
2025-07-01 09:06:25 +09:00
Leonard Hall
a578bf6275
Copter: Fix units on target_climb_rate
2025-06-24 07:55:28 +09:00
Leonard Hall
7d8c8eca1c
Copter: Change heading to radians
2025-06-24 07:55:28 +09:00
Leonard Hall
589708df48
Copter: Names and Units
2025-06-23 15:05:55 +09:00
Iampete1
1ec19af228
Copter: modes: get_alt_above_ground_cm to const
2025-06-16 16:23:29 +01:00
Peter Barker
a812762e66
Copter: announce number of completed circles in NAV_LOITER_TURNS
2025-06-06 22:33:32 +10:00
Iampete1
acd7d98562
copter: auto: provide alt above landing location if landing
2025-06-03 10:10:37 +09:00
Leonard Hall
d694869088
Copter: Remove inertial_nav from flight modes
2025-05-24 09:23:35 +09:00
muramura
514e71b850
Copter: Add units to the method that calculates the distance meter between WAYPOINTs
2025-05-12 11:37:04 +09:00
co63oc
e66ebfe76d
ArduCopter: correct typos and mis-spellings
2025-05-04 23:36:45 +10:00
Leonard Hall
69f563c36d
Copter: add units and frames to AC_WPNav methods
...
Copter
Copter
2025-05-02 21:47:07 +10:00
Leonard Hall
ce2bb06cf7
Copter: add units and frames to AC_AttitudeControl methods
...
squash
2025-04-29 08:54:14 +09:00
Leonard Hall and Peter Barker
c11d93b36f
ArduCopter: add units and frames to AC_AttitudeControl methods
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au >
2025-04-23 10:02:29 +10:00
Randy Mackay
cea2810f8f
Copter: support do-set-roi-location and do-set-roi-none
2025-03-25 15:24:09 +09:00
Iampete1
7dc91c3f32
Copter: use new misison present method
2025-01-28 10:30:06 +11:00
Iampete1
ad1bf0b59e
Copter: ModeAuto::do_guided use in_guided_mode method
2024-11-26 08:44:31 +09:00
Tatsuya Yamaguchi
63663303de
Copter: Keep FIXED mode when WP_YAW_BEHAVIOR is NONE
2024-10-08 08:16:25 +09:00
Nick Exton
03db86427a
Copter: Handle DO_MOUNT_CONTROL yaw angle as body frame
...
And only accept if the mode is MAV_MOUNT_MODE_MAVLINK_TARGETING. This matches the handlers in AP_Mount.
2024-10-08 08:05:27 +09:00
Randy Mackay
14447c6e2d
Copter: add comment to loc_from_cmd
2024-10-06 13:56:08 +11:00
Randy Mackay and Leonard Hall
5ca7daf915
Copter: payload place uses desired alt instead of actual
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com >
2024-10-04 09:25:56 +09:00
Randy Mackay and Leonard Hall
0bcff6cec0
Copter: support set_posvelaccel_offset in auto
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com >
2024-10-04 09:25:56 +09:00
Randy Mackay
df2ae532c2
Copter: auto integrates get-closest-point-on-edge dist
2024-10-04 09:25:56 +09:00
Randy Mackay
91926674e9
Copter: minor comment fix to auto mode
2024-10-04 09:25:56 +09:00
Peter Barker
9f1690ac20
ArduCopter: adjust for AP_Mission logging mission-item-starts
2024-10-01 10:19:29 +10:00
Peter Barker and murata
6e760a2b94
Copter: mode_auto: remove more code based on defines
...
Co-authored-by: murata <ma2maru@gmail.com >
2024-09-24 09:26:31 +10:00
Randy Mackay
a2845e4222
Copter: auto mode takeoff complete pos fix
2024-09-11 08:44:45 +09:00
Peter Barker
784760342d
Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines
2024-09-06 11:53:09 +10:00
Peter Barker
46d37abcf7
Copter: avoid nullptr deref in config_error_loop
...
we may enter the config_error_loop before we call Copter's methods which allocate the wpnav object.
We send mavlink messages in the config error loop, one of which calls this method - so we end up with a nullptr dereference.
We might be able to find a way to stop sending this message in the config error loop, but that's likely to take some time to do....
2024-08-27 11:04:02 +10:00
Leonard Hall
16aa2ed4f8
Copter: Fix payload place bug
2024-08-08 18:16:12 +10:00
Peter Barker
cbbb6881e2
Copter: use mavlink enumeration to clarify do_change_speed implementation
2024-08-07 17:50:03 +10:00
Andy Piper
823ffb6c9e
Copter: use generic fence handling in missions
2024-07-24 08:24:06 +10:00
Andy Piper
eaf001c52f
Copter: disable fences for landing by suppressing in the fence check rather than using a state machine
2024-07-24 08:24:06 +10:00
Andy Piper
738586342c
Copter: notify when fence breach has cleared
...
output fence breach type
when switching mode without a fence action do not go into manual recovery
only recover if there is a fence action
implement auto-takeoff fence options
output user-friendly fence names
auto-enable fences on auto-takeoff
use fence enable_configured()
simplify message printing
2024-07-24 08:24:06 +10:00
Peter Barker
5f9abc0406
Copter: add and use private ModeAuto::option_is_enabled method
2024-07-17 17:55:42 +10:00
Leonard Hall
8260648a66
Copter: Payload Place: Fix first run abort
2024-07-16 10:47:58 +10:00
Peter Barker
f64fcb78d3
ArduCopter: make AP_RANGEFINDER_ENABLED remove more code
2024-07-02 09:17:26 +10:00
Iampete1
5b9848c5e1
Copter: support DO_RETURN_PATH_START
2024-04-30 08:03:39 +09:00
Iampete1
eadcf9b09e
Copter: add get_stopping_point helper and pass stopping point to jump_to_landing_sequence
2024-04-02 11:11:59 +11:00
Leonard Hall
bc6d965bbc
Copter: Payload Place: Change PLDP_RNG_MIN to PLDP_RNG_MAX
2024-03-06 15:16:16 +11:00
Peter Barker
f2a9f1516b
ArduCopter: move gripper up to AP_Vehicle
...
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
J.R. Bronkar
c28c50babe
ArduCopter: fractional Loiter Turn Support
...
Adds special storage handling for loiter turns. Fractional Loiter
Turns 0<N<1 are stored by multiplying the turn number by 256, then
dividing that number by 256 on retrieval.
2024-01-22 20:27:20 -08:00
Peter Barker
7377b3f8f2
ArduCopter: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Randy Mackay
97ab37875e
Copter: fix do-change-speed received during takeoff
2023-12-06 08:44:52 +09:00
Leonard Hall
60ceaec901
Copter: Fix AP_MISSION_NAV_PAYLOAD_PLACE_ENABLED
2023-12-04 09:06:10 +09:00
Randy Mackay
48825c9cc6
Copter: minor format fixes
2023-11-28 07:46:33 +09:00