Commit Graph
85 Commits
Author SHA1 Message Date
Randy MackayandIampete1 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
Leonard Hall ee123d63bb Copter: remove redundant pilot climb rate constrain in flight modes 2026-04-27 13:05:02 +09:00
Leonard Hall 12068ad310 Copter: Remove repeated call to set_desired_spool_state 2026-03-06 09:30:09 +09:00
Randy Mackay 107152625a Copter: PILOT params renamed and converted to meters 2026-03-04 13:59:09 +09: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 ee8595b822 Copter: Naming Change No compiler change 2025-11-14 10:01:37 +11:00
Leonard Hall 453d99d1c9 Copter: Remove unused functions 2025-09-26 17:54:32 +09:00
Leonard Hall 7e03cfb3a9 Copter: Convert to postype 2025-09-26 10:35:25 +09:00
Leonard Hall e3a1373f27 Copter: AC_PrecLand: Convert to meters 2025-08-20 17:01:44 +09:00
Leonard Hall e610cac5fd Copter: Remove last use of cm in AC_PosControl. 2025-08-20 17:01:44 +09:00
Leonard Hall ff86a544c7 Copter: Small changes to convert to meters 2025-08-15 14:06:52 +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 d641eae0be 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 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 589708df48 Copter: Names and Units 2025-06-23 15:05:55 +09:00
Leonard Hall d694869088 Copter: Remove inertial_nav from flight modes 2025-05-24 09:23:35 +09:00
Peter Barker 8aa3c36f92 Copter: trust control values from get_pilot_desired_lean_angles etc
this stops ArduCopter looking at the RC failsafe values before trusting return values from varios methods like get_pilot_target_climb_rate_cms

Several other modes already make the assumption that if there's no good pilot input that these methods return 0
2025-05-14 21:39:08 +10:00
muramura 514e71b850 Copter: Add units to the method that calculates the distance meter between WAYPOINTs 2025-05-12 11:37:04 +09: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
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 HallandPeter 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
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
tzarjakob 97b7e8d1d0 ArduCopter: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
Leonard Hall 1a5b4fb7d2 Copter: Reorder Alt_hold state switch statement for clarity 2022-10-04 10:03:44 +09:00
Leonard Hall b8a92058b1 Copter: Dissable yaw slew in loiter 2022-05-14 22:31:43 +09:00
Rishabh 48124c1c4b Copter: Use new control methods for prec loiter 2022-01-31 14:38:29 +09:00
Josh Henderson 3107c42fca Copter: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Josh Henderson 6b871fba55 ArduCopter: inav funcs use _xy() 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
Leonard Hall a1ad194abd Copter: seperate kinimatic shaping from pid limit setting 2021-07-10 20:25:05 +09:00
Leonard Hall dd0b303ec2 Copter: Fix Loiter attitude error during Pre-Takeoff 2021-05-26 16:03:05 +09:00
Leonard Hall 3b0a870504 Copter: Rename set_yaw_target_to_current_heading 2021-05-26 16:03:05 +09:00
Leonard Hall e294991b08 Copter: Fix before squash 2021-05-24 20:13:37 +10:00