Commit Graph
63 Commits
Author SHA1 Message Date
Leonard Hall 48af7707ba Copter: ThrowMode: Ignore spool up checks 2026-05-20 10:38:50 +10: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 ca916c4649 Copter: Throw Mode: Fix throw_height_good calculation 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 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 c6e2627c7e Copter: Convert Mode Throw to meters and radians 2025-08-20 17:01:44 +09:00
Leonard Hall 440a993aaa Copter: Convert Mode Throw to meters and radians 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 69fdcac39d Copter: Convert Mode Throw to meters 2025-08-13 11:06:41 +09:00
Leonard Hall a6d38197d1 Copter: Convert Position Control limit setters to meters 2025-08-07 08:48:18 +09:00
Leonard Hall c91c7e25d8 Copter: # define BRAKE_MODE to meters 2025-08-07 08:48:18 +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 089b70ca72 Copter: Convert copter to radians 2025-07-01 09:06:25 +09:00
Peter Barker 92d40dcd24 ArduCopter: remove get_filter_status from AP_InertialNav 2025-05-29 15:14:42 +10:00
Leonard Hall d694869088 Copter: Remove inertial_nav from flight modes 2025-05-24 09:23:35 +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
topaz-244 39ac45a773 Copter: Throw mode add params for desired ascent alt after throw 2025-04-24 09:56:19 +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
Randy MackayandLeonard 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
Peter Barker 784760342d Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines 2024-09-06 11:53:09 +10:00
Peter Barker 7377b3f8f2 ArduCopter: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
JanMaciuk 511659e6ee Copter: Throw mode check altitude within params 2024-01-09 11:29:00 +09:00
Leonard Hall 4b20a2d5f1 Copter: Add control over throttle ramp time during take-off 2022-08-31 19:19:04 -04:00
Josh Henderson 3107c42fca Copter: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11: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
Peter Barker 2e18b2d162 Copter: simplify throttle-is-unlimited check
Now not the same pattern as the other checks - but it is much shorter
2021-07-14 16:38:36 +09:00
Peter Barker 8ccb77f708 Copter: wait for motors to spool up before trying to upright vehicle
This stops us from progressing through the whole throw mode if the
vehicle just happens to be in the right state - which is can be for a
drop.
2021-07-14 16:38:36 +09:00
Peter Barker 21f8ff4a4e Copter: constify some ModeThrow methods 2021-07-14 16:38:36 +09:00
Leonard Hall a1ad194abd Copter: seperate kinimatic shaping from pid limit setting 2021-07-10 20:25:05 +09:00
Andrew Tridgell d89388c4cc Copter: use cleaned up APIs 2021-06-24 20:28:45 +10: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
Leonard Hall 4bae8f03a4 Copter: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Leonard Hall a29e2d8920 Copter: fix references to position error 2021-04-03 12:07:59 +09:00
Patrick José Pereira ffe356d597 ArduCopter: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-09 11:04:18 +09:00
Peter Barker f4cbc50ba4 Copter: use an enumeration for pre-throw motor state 2020-12-08 12:04:14 +11:00
Peter Barker bd0dff1b0e Copter: use enum-class and AP_Enum for ThrowType 2020-12-08 12:04:14 +11:00
Rishabh 41590916d5 Copter: Added Throw Mode logger documentation 2020-04-07 08:05:10 +09:00
Michael du Breuil b42b1c08c4 Copter: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Peter Barker b4537bebd8 Copter: move control_mode_t into being Mode::Number enum class
Fixes this compiler error:

In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
        AUTO,           // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
        ^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
    AUTO =          3,  // fully automatic waypoint control using mission commands
    ^
1 error generated.
2019-09-13 13:12:08 +09:00
Peter Barker 676d75c391 Copter: correct namespacing of Copter modes
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.

This was done mechanically for the most part.

I've had to remove the convenience reference for ap as part of this.
2019-06-11 09:18:22 +09:00
Peter Barker 46a6f45e4a Copter: adjust for desired spool state and spool state renames 2019-04-14 12:18:03 +09:00
Leonard Hall df3e73f161 Copter: spool fixes for acro stabilize and throw 2019-04-08 09:42:21 +09:00
Leonard Hall 38cc5a817f Copter: consolidate mode state decisions
bnsgeyer and rmackay9 contributed to these changes

make_safe_shut_down waits for spool down before disarming
remove use of attitude_control::set_throttle_out_unstabilized to consolidate logic between multicopters and tradhelis
2019-04-08 09:42:21 +09:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00