Commit Graph
249 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
muramura 2112de0256 Copter: make AltHold an optional build feature 2026-08-03 08:12:37 +10:00
bnsgeyer 3c15e90044 Copter: clean up based on comments 2026-04-28 18:53:29 -04:00
bnsgeyer 043602620e Copter: replace runup_complete call with throttle unlimited 2026-04-28 18:53:29 -04:00
bnsgeyer 63524df2b1 Copter: remove flybar and ext gyro from tradheli 2026-03-23 06:49:00 -04:00
Leonard Hall 99fdfecd4e Copter: Move redundant spool checks to Motors 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
Iampete1 c500ce1a13 Copter: populate avalable modes user selectable bit and track changes 2026-02-16 18:25:20 -06: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
Randy MackayandAndy Piper 0e44baae85 Copter: rename requires_GPS to requires_position
Co-authored-by: Andy Piper <github@andypiper.com>
2026-02-05 14:24:44 -05:00
Leonard Hall a6ead9f097 Copter: get_alt_hold_state_D_ms: Add GROUND_IDLE for using_interlock 2026-02-02 19:21:58 -05:00
Randy Mackay 0e72a5ffd7 Copter: Land params moved to class and scaled to meters 2026-01-23 11:51:54 +11:00
Ferruccio Vicari eabf2aab5e Copter: collective ramp for mode transitions 2026-01-08 05:48:51 -05:00
Leonard Hall 7230bc21b2 Copter: use Location::from_ekf_offset_NED_m constructor 2025-12-17 08:03:10 +09:00
Leonard Hall 8210bb29e1 Copter: remove D_land_at_climb_rate_ms 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 b07775a4dc Copter: AC_PosControl: Correct sign of speed_down_ms to positive 2025-11-21 13:01:44 +09: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
Salah 7d69dc290f Copter: fixing initial condition in get_alt_above_ground_cm 2025-10-31 22:18:33 +11:00
Leonard Hall 7811979ca6 Copter: Fix use of body_to_earth2D and body_to_earth2D_p 2025-10-13 22:07:26 -05:00
Leonard Hall 7e45e20885 Copter: Replace rotate_body_frame_to_NE with body_to_earth2D 2025-09-26 10:35:25 +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 ceb5ad848a Copter: Address PR feedback 2025-08-15 14:06:52 +09:00
Leonard Hall fd8fba0950 Copter: Convert get_stopping_point to meters 2025-08-15 14:06:52 +09:00
Leonard Hall fe753fe7b7 Copter: Convert Land to meters 2025-08-15 14:06:52 +09:00
Leonard Hall 11292d4139 Copter: Convert get_rangefinder_height_interpolated to meters 2025-08-15 14:06:52 +09:00
Leonard Hall 34795c4f4e Copter: Convert get_alt_above_ground to meters 2025-08-15 14:06:52 +09:00
Leonard Hall 126f33fa21 Copter: Convert Others 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 77d41b1109 Copter: Convert get_avoidance_adjusted_climbrate to m 2025-08-07 20:32:05 +09:00
Leonard Hall 5a69e1b827 Copter: Convert get_pilot_desired_climb_rate to m 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 d641eae0be Copter: Climb rate: Use helpers for vertical speed, accel parameters 2025-08-07 08:48:18 +09:00
Leonard Hall f78b8f5df6 Copter: Add helpers for vertical speed, accel parameters 2025-08-07 08:48:18 +09:00
Leonard Hall f48b925111 Copter: Precland: Fix naming and units 2025-08-05 11:04:37 +09:00
Leonard Hall e944b8c776 Copter: Fix get_pilot_desired_climb_rate_cms 2025-08-05 11:04:37 +09:00
Leonard Hall db5d4ff449 Copter: AC_PosControl: Fix units land_at_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 20b5913ef6 Copter: Add frame and units to Mode::get_stopping_point() 2025-07-24 19:16:38 +09:00
Iampete1 4405a3838b Copter: WP_NAVALT_MIN only apply to takeoff 2025-07-22 09:40:07 +09:00
Peter Barker d1f4a16202 Copter: disallow mode entry if no RC for several modes 2025-07-07 09:14:38 +09:00
Leonard Hall 089b70ca72 Copter: Convert copter to radians 2025-07-01 09:06:25 +09:00
Peter Barker 831078bbc2 ArduCopter: add and use AP_ADSB_AVOIDANCE_ENABLED
this gates the "ADSB" avoidance feature used for macro-level avoidance.  It's not actually limited to ADSB as input...
2025-06-26 16:32:22 +10:00