Commit Graph
201 Commits
Author SHA1 Message Date
Eric Katzfey 4c3eb9678c Copter: suppress QURT absolute-value warning
Keep existing fabsF behavior and locally suppress Hexagon Clang's narrowing diagnostic for the double-precision guided position target.
2026-09-05 09:08:20 +10:00
Ryan Friedman 9495a11116 ArduCopter: rename check_destination_within_fence to check_location_within_fence
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2026-04-27 09:06:16 +01:00
Peter Barkerandmuramura 8946eeb3e6 Copter: make three GuidedMode variables non-static class members
Each of these three variables is initialised in the "init" function - two directly and one in the method velaccel_control_start.

This makes the values in these variables unshared between guided mode and any of its subclasses, so we can make them normal instance variables.

Co-authored-by: muramura <ma2maru@gmail.com>
2026-02-16 16:03:03 -08:00
Leonard Hall d6f64dac94 Copter: Fix sign of init_pos_terrain_D_m input 2026-02-10 05:50:58 -08:00
Leonard Hall 5341583dd1 Copter: add unit and axis suffixes to internal variables and log struct fields 2026-02-10 05:47:01 -08:00
Leonard Hall f9692156db Copter: Guided: replace remaining init() with hold_position() 2026-02-04 18:38:37 +11:00
Leonard Hall 20e105a0c4 Copter: Guided: Improve name of hold_position() and comments 2026-02-04 18:38:37 +11:00
Leonard Hall efb5b57a2d Copter: Fix constant guided reinitialisation problem 2026-02-04 18:38:37 +11:00
Leonard Hall 7230bc21b2 Copter: use Location::from_ekf_offset_NED_m constructor 2025-12-17 08:03:10 +09:00
Leonard Hall 986c4a4e19 Copter: NEU to NED renaming - Conversion 2025-12-17 08:03:10 +09:00
Leonard Hall 7a8cc3815f Copter: NEU to NED renaming - No compiler change 2025-12-17 08:03:10 +09:00
Leonard Hall 865aae7793 Copter: Rename terrain_offset_m to terrain_U_m 2025-11-14 10:01:37 +11:00
Leonard Hall ee8595b822 Copter: Naming Change No compiler change 2025-11-14 10:01:37 +11:00
Leonard Hall e9d32aa2f7 Copter: Naming Change No compiler change 2025-11-14 10:01:37 +11:00
Randy Mackay aa7e9e853e Copter: flight mode accessor for ekf reset method 2025-11-04 12:27:47 +09:00
Leonard Hall 7e03cfb3a9 Copter: Convert to postype 2025-09-26 10:35:25 +09:00
Leonard Hall ceb5ad848a Copter: Address PR feedback 2025-08-15 14:06:52 +09:00
Leonard Hall 5208bfa6d0 Copter: AP_SurfaceDistance: Convert to meters 2025-08-15 14:06:52 +09:00
Leonard Hall 4141bf4675 Copter: Fix Vector3f () to {} 2025-08-13 11:06:41 +09:00
Leonard Hall a93b3df4c8 Copter: Added meter conversion of adjust_velocity 2025-08-13 11:06:41 +09:00
Leonard Hall 5d2d8a040b Copter: Fixed unit conversion bug in Mode_Guided 2025-08-13 11:06:41 +09:00
Leonard Hall 7f25d3efbf Copter: Fixed unit conversion bug in Mode_Guided 2025-08-13 11:06:41 +09:00
Leonard Hall 3723c3cd04 Copter: Fix argument axis speed_ne_ms 2025-08-13 11:06:41 +09:00
Leonard Hall 1a4f8b738e Copter: Convert Mode Guided to meters 2025-08-13 11:06:41 +09:00
Leonard Hall b90b23e1e7 Copter: Convert set_speed setters 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 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 a6d38197d1 Copter: Convert Position Control limit setters to meters 2025-08-07 08:48:18 +09:00
Leonard Hall 8c7baa48da Copter: Guided: Fix/Add Static units and axis 2025-08-05 20:32:33 +10:00
Leonard Hall 8beb1b030e Copter: Address PR feedback 2025-08-05 11:04:37 +09:00
Leonard Hall c52a95b7d2 Copter: Guided: Fix/Add units and axis 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 561cfe2c1c Copter: Support - AC_WPNav: add units to crosstrack_error 2025-07-25 14:20:19 +09:00
Leonard Hall 6bd9b1ca72 Copter: Support - AC_PosControl: add units to crosstrack_error 2025-07-25 14:20:19 +09:00
Leonard Hall 6d3bc4a5b5 Copter: Support - AP_Math: Remove units on get_horizontal_distance 2025-07-17 09:12:37 +09:00
Leonard Hall 91416534b9 Copter: Guided: Change cd to rad 2025-07-08 09:24:39 +09:00
Leonard Hall 18fa44b3ce Copter: Guided: Remove unused variables 2025-07-08 09:24:39 +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 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
Peter Barker 7e14d99fbc ArduCopter: replace ToRad with radians and ToDeg with degrees 2025-05-29 11:24:56 +10: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
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