Randy Mackay and Iampete1
17792724fa
Copter: simple mode fix
...
Co-authored-by: Iampete1 <iampete@hotmail.co.uk >
Replaces update_simple_mode with apply_simple_mode function that takes roll and pitch input arguments. The rotation is now done within the various get-pilot-desired-xxx methods removing the need for each flight mode to call update_simple_mode and also removing the slightly ugly call to overwrite RC_Channels' control inputs from the flight code (e.g. no more calls to set_control_in)
2026-08-11 02:01:53 +01:00
Peter Barker
b6d7107929
Copter: flowhold: correct height estimate calculations
...
... by accumulating height weights into float rather than uint8_t
these weights are all likely to be very low, so the "ends up at zero" case is likely to always be taken.
- min_flow_change is 0.04
- the value is in radians/second
I have an inkling this might originally have been "i" - i.e. accumulate across the three axes and then divide by the number of axes included in delta_height_m - but the code was subsequently changed to be include the abs_weight instead but the type was missed.
2026-07-15 20:52:11 +10:00
Leonard Hall
ee123d63bb
Copter: remove redundant pilot climb rate constrain in flight modes
2026-04-27 13:05:02 +09:00
rishabsingh3003 and Randy Mackay
a67defb38e
Copter: disable AltHold based avoidance by default
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com >
2026-03-05 08:50:35 +09:00
Randy Mackay
107152625a
Copter: PILOT params renamed and converted to meters
2026-03-04 13:59:09 +09:00
Iampete1
7f2955c92c
Copter: add enabled method on modes
2026-02-16 18:25:20 -06:00
Randy Mackay
947697ec04
Copter: integrate ANGLE_MAX move to ATC
2026-01-28 08:45:12 +11:00
Leonard Hall
7a8cc3815f
Copter: NEU to NED renaming - No compiler change
2025-12-17 08:03:10 +09:00
Leonard Hall
b07775a4dc
Copter: AC_PosControl: Correct sign of speed_down_ms to positive
2025-11-21 13:01:44 +09:00
Leonard Hall
63a2423942
Copter: Add _U_m accessors for altitude.
2025-11-21 13:01:44 +09:00
Leonard Hall
ee8595b822
Copter: Naming Change No compiler change
2025-11-14 10:01:37 +11:00
Leonard Hall
e776eff994
Copter: Convert Mode FlowHold to meters and radians
2025-08-20 17:01:44 +09:00
Leonard Hall
f2e9026aa2
Copter: Convert Mode FlowHold to meters and radians
2025-08-20 17:01:44 +09:00
Leonard Hall
7d019711b0
Copter: AC_AttitudeControl: Remove cd and deg accessors
2025-08-20 17:01:44 +09:00
Leonard Hall
0b2965d023
Copter: Convert Mode FlowHold to meters
2025-08-13 11:06:41 +09:00
Leonard Hall
690f01144c
Copter: Add axis and units to get_alt_hold_state
2025-08-07 20:32:05 +09:00
Leonard Hall
d7dc0fcf88
Copter: Update parameter variables from cm to m
2025-08-07 20:32:05 +09:00
Leonard Hall
5962f25800
Copter: Convert get_pilot_desired_climb_rate to meters
2025-08-07 20:32:05 +09:00
Leonard Hall
07b4065097
Copter: Convert takeoff to meters
2025-08-07 20:32:05 +09:00
Leonard Hall
48c07d666d
Copter: Address PR feedback
2025-08-07 08:48:18 +09:00
Leonard Hall
a6d38197d1
Copter: Convert Position Control limit setters to meters
2025-08-07 08:48:18 +09:00
Leonard Hall
32349a6cb3
Copter: Climb rate: Use helpers for vertical speed, accel parameters
2025-08-07 08:48:18 +09:00
Leonard Hall
e944b8c776
Copter: Fix get_pilot_desired_climb_rate_cms
2025-08-05 11:04:37 +09:00
Leonard Hall
a1049c540c
Copter: Takeoff: Fix/Add units and axis
...
Copter: Takeoff: Fix/Add units and axis
2025-08-05 11:04:37 +09:00
Leonard Hall
cc08f59eb8
Copter: AC_PosControl: Fix units on set_correction_speed_accel_U
2025-08-05 11:04:37 +09:00
Leonard Hall
4f20cc2442
Copter: Apply AC_Avoid: Fix unit naming
2025-07-01 09:06:25 +09:00
Leonard Hall
089b70ca72
Copter: Convert copter to radians
2025-07-01 09:06:25 +09:00
Leonard Hall
589708df48
Copter: Names and Units
2025-06-23 15:05:55 +09:00
Leonard Hall
f8a448d3c5
Copter: Add and fix variable units
2025-06-19 17:03:01 +09:00
Leonard Hall
d694869088
Copter: Remove inertial_nav from flight modes
2025-05-24 09:23:35 +09:00
Leonard Hall
ce2bb06cf7
Copter: add units and frames to AC_AttitudeControl methods
...
squash
2025-04-29 08:54:14 +09:00
Peter Barker
1e7c5b23c2
Copter: stop passing control in value to get_pilot_desired_climb_rate
...
these are always the same value, so simplify things
2025-04-23 13:39:22 +10: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
Iampete1
a72182ae97
Copter: don't pass channel_yaw->norm_input_dz() into get_pilot_desired_yaw_rate
2024-09-22 08:40:12 +09:00
Peter Barker
784760342d
Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines
2024-09-06 11:53:09 +10:00
Iampete1
e97569db8c
copter: flowhold: move to constant dt filter and provide dt in runtime cutoff frequency update
2024-08-20 09:09:41 +10:00
Peter Barker
f64fcb78d3
ArduCopter: make AP_RANGEFINDER_ENABLED remove more code
2024-07-02 09:17:26 +10:00
muramura
07a5f61782
Copter: Change from enum to class
2024-05-07 20:27:15 +09:00
Peter Barker
cb76ce534b
ArduCopter: move AC_Avoidance defines into libraries
2024-03-11 18:07:18 +11:00
Peter Barker
7377b3f8f2
ArduCopter: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Stephen Dade
58cb4cbfb1
Copter: Make mode flowhold a build option via MODE_FLOWHOLD_ENABLED
2022-08-18 07:46:13 -04:00
murata
08a1ad3c39
Copter: Change from division to multiplication
2022-03-16 18:41:52 +11:00
Peter Barker
285d752143
ArduCopter: create and use AP_OPTICALFLOW_ENABLED
...
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Josh Henderson
3107c42fca
Copter: INAV rename for neu & cm/cms
2021-11-30 10:08:07 +11:00
Leonard Hall
5d5ccc8c78
Copter: Update ACRO to use rate parameters and update expo function
2021-09-23 20:03:53 +09:00
Leonard Hall
f3dc47ce3d
Copter: Add units to the AC_AttitudeControl Library
2021-09-09 08:01:14 +09:00
Leonard Hall
5fea74d4d0
Copter: Separate landing and terrain following.
2021-09-06 16:00:19 +09:00
Andrew Tridgell
1b21077edd
Copter: mark logger Write() calls as streaming where appropriate
2021-08-18 10:20:03 +10:00
Iampete1
f5c68d54cb
Copter: flowhold: use correct angle max
2021-08-17 09:23:47 +09:00
Randy Mackay
672b8350c7
Copter: flowhold minor format fix
2021-08-11 17:07:29 +09:00