Commit Graph
805 Commits
Author SHA1 Message Date
Peter Barker 801703b457 ArduPlane: use get_roll_deg in place of degrees(get_roll_rad) etc. 2025-08-05 09:00:08 +09:00
Leonard Hall 003f93f488 Plane: Log_Write_QControl_Tuning: meter and float conversion 2025-07-29 09:56:17 +10:00
Leonard Hall cf067f2ca7 Plane: Quadplane: Small units fix and cleanup 2025-07-29 09:56:17 +10:00
Leonard Hall 8fe69361ef Plane: Change all AC_WPNav accessors to meters 2025-07-29 09:56:17 +10:00
Leonard Hall 9642a94225 Plane: Log_Write_QControl_Tuning: meter and float conversion 2025-07-29 09:56:17 +10:00
Leonard Hall 17872303ea Plane: QuadPlane: Convert target pos and vel to ms 2025-07-29 09:56:17 +10:00
Leonard Hall 398a4bf3e0 Plane: Quadplane: Add missing units and axis to variables 2025-07-29 09:56:17 +10:00
Leonard Hall 57a2f683df Plane: QuadPlane: Convert landing_descent_rate_cms to ms 2025-07-29 09:56:17 +10:00
Leonard Hall 67e4717f95 Plane: QuadPlane: Fix compile problem 2025-07-29 09:56:17 +10:00
Leonard Hall f2f68c2c0b Plane: Move to pos_control meters interface 2025-07-29 09:56:17 +10:00
Leonard Hall a4a4e649bc Plane: pos_control: Convert limits to m 2025-07-29 09:56:17 +10:00
Leonard Hall f49d330fad Plane: Log_Write_QControl_Tuning: meter and float conversion 2025-07-29 09:56:17 +10:00
Leonard Hall ff7d101a58 Plane: Convert set_climb_rate_ms to meters 2025-07-29 09:56:17 +10:00
Leonard Hall b2a143094a Plane: Convert get_pilot_velocity_z_max_dn() to meters 2025-07-29 09:56:17 +10:00
Leonard Hall 2efe2932a1 Plane: Quadplane: Add units and axis to variables 2025-07-23 10:33:38 +10:00
Leonard Hall 1c40450104 Plane: Quadplane: add units to function names 2025-07-23 10:33:38 +10:00
Leonard Hall ccf2ec3325 Plane: Add units to quadplane parameters 2025-07-23 10:33:38 +10:00
Peter Barker cc04ff198e Plane: use enum-class for transition states 2025-07-22 23:48:06 +10:00
Peter Barker 87271de963 ArduPlane: avoid use of Location .alt field
various changes to avoid use of the Location .alt field, which should be private.

Introduces several new helper functions on Location to help with this
2025-07-22 17:46:53 +10:00
Ryan Friedman 2c1840f59a ArduPlane: change OPTION case to match convention
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2025-07-22 08:22:37 +10:00
Andrew Tridgell 1c6a2aea34 Plane: make RNGFND_LANDING a bitmask
this gives greater control of when the rangefinder will be used. A
particularly important one is the ability to disable it for VTOL
assist as false positives can be quite common and drains the battery
2025-07-14 20:01:10 +10:00
Peter Barker 164bf59db4 ArduPlane: move rudder-arming detection code into RC_Channels 2025-07-08 08:28:31 +10:00
Leonard Hall 33efc44948 Plane: Support - AP_Motors: Add units to dt 2025-07-07 13:39:08 +09:00
Leonard Hall 1fc5d5533f Plane: Support - AC_AttitudeControl: Add units to dt 2025-07-07 13:39:08 +09:00
Leonard Hall 49d124e647 Plane: Support - AC_PosControl: Add units to dt 2025-07-07 13:39:08 +09:00
Bob Long 30d9238b96 Plane: Quadplane: coordinate turns in transition
Setting the rate to 0 is counterproductive and causes large yaw outputs
2025-06-27 11:52:46 +10:00
Peter Barker bcf62b9374 ArduPlane: allow AP_MotorsTri to be compiled out of code 2025-06-24 16:42:00 +10:00
Leonard Hall ad1a71e7f7 Plane: Names and Units 2025-06-23 15:05:55 +09:00
Leonard Hall 1d2e9535bb Plane: Add units to 6DoF and TS attitude functions 2025-06-18 20:34:26 +09:00
Peter Barker ec5606c81b ArduPlane: rename AHRS get_roll etc accessors to include _rad 2025-06-05 17:28:41 +10:00
Leonard Hall 59b1f43357 Plane: Use cd_to_rad and remove radians(XXX * 0.01f); 2025-05-28 20:16:26 +09:00
Leonard Hall ad58e71198 Plane: Remove INAV 2025-05-24 09:23:35 +09:00
Leonard Hall 8e2485b426 Plane: AC_PosControl: Remove INAV and update_estimates() 2025-05-24 09:23:35 +09:00
Paul Riseborough 18076df64d Plane: Stop fwd flight quadplane motors dipping when FW transition finishes
When tilt quadplane FW transition finishes, get the throttle of the motors
used for forwrd flight and reset the TECS minimum throttle ramp and
the servo channel slew limiter to prevent a sudden drop in motor
throttle that upset the vehicle.
2025-05-24 06:16:43 +10:00
Peter Barker e027be44ea ArduPlane: document quadplane FWDT and QBRK log messages 2025-05-21 13:59:38 +10:00
Ep Pravitra 972c03ed08 ArduPlane: fix quadplane stopping speed equation 2025-05-14 11:06:45 +01:00
muramura ea7959de42 Plane: Clarify the floating-point value 2025-05-05 21:49:43 +10:00
co63oc 50b8551ccc ArduPlane: correct typos and mis-spellings 2025-05-04 23:36:45 +10:00
Leonard Hall ba1de061fd Plane: add units and frames to AC_WPNav methods
Plane
2025-05-02 21:47:07 +10:00
magate d05b864416 Plane: fix Q_OPTION bit 18 docstring
This docstring is not correct.

https://github.com/ArduPilot/ardupilot/blob/8e9a568a55be2d4129e0b06f460c82bd7dec7953/ArduPlane/mode_auto.cpp#L152-L162
2025-05-02 16:02:57 +10:00
Leonard Hall dd63a5f923 Plane: add units and frames to AC_AttitudeControl methods 2025-04-29 08:54:14 +09:00
Leonard HallandPeter Barker 706d8d97a4 ArduPlane: 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
Andrew Tridgell ab0d4ada24 Plane: fixed VTOL takeoff to terrain alt 2025-04-15 08:17:41 +10:00
Andrew Tridgell f3bca4d3ff Plane: fixed incorrect set of location alt fields
this fixes several places that set the alt field directly. The only
one that is a real bug is in CIRCLE where if we were terrain following
and change into CIRCLE mode we would climb to current alt + home alt
2025-04-15 08:17:41 +10:00
Andrew Tridgell 28c2da3fc9 Plane: fixed double application of terrain offset
for QGuided mode with terrain target we were applying the home ->
current terrain offset twice
2025-04-10 06:44:55 +10:00
Andrew Tridgell 7a1630c93f Plane: added comment on type and param slot re-use
colcon build/test / build-test (push) Waiting to run
Cygwin Build / build (push) Waiting to run
ESP32 Build / build (esp32buzz, 10) (push) Waiting to run
ESP32 Build / build (esp32s3empty, 10) (push) Waiting to run
Macos Build / build (CubeOrange) (push) Waiting to run
Macos Build / build (sitl) (push) Waiting to run
QURT Build / build (push) Waiting to run
test ccache / build (10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (CubeRed-EKF2, 10, chibios) (push) Waiting to run
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (MatekF405-Wing, 10, chibios) (push) Waiting to run
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Waiting to run
test chibios / build (SOHW, 10, chibios) (push) Waiting to run
test chibios / build (build-options-defaults-test, 10, chibios) (push) Waiting to run
test chibios / build (configure-all, 10, chibios) (push) Waiting to run
test chibios / build (fmuv2-plane, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (iofirmware, 10, chibios) (push) Waiting to run
test chibios / build (new-check, 10, chibios) (push) Waiting to run
test chibios / build (periph-build, 10, chibios) (push) Waiting to run
test chibios / build (revo-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (revo-mini, 10, chibios) (push) Waiting to run
test chibios / build (signing, 10, chibios) (push) Waiting to run
test chibios / build (stm32f7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7-debug, 10, chibios) (push) Waiting to run
test dds / build (sitl) (push) Waiting to run
test dds / build (stm32h7) (push) Waiting to run
test Linux SBC / build (bbbmini, armhf) (push) Waiting to run
test Linux SBC / build (bebop, armhf) (push) Waiting to run
test Linux SBC / build (bhat, armhf) (push) Waiting to run
test Linux SBC / build (canzero, armhf) (push) Waiting to run
test Linux SBC / build (erlebrain2, armhf) (push) Waiting to run
test Linux SBC / build (linux, base) (push) Waiting to run
test Linux SBC / build (navigator, armhf-musl) (push) Waiting to run
test Linux SBC / build (navigator64, aarch64) (push) Waiting to run
test Linux SBC / build (navio, armhf) (push) Waiting to run
test Linux SBC / build (navio2, armhf) (push) Waiting to run
test Linux SBC / build (pxf, armhf) (push) Waiting to run
test Linux SBC / build (pxfmini, armhf) (push) Waiting to run
test replay / build (replay, base) (push) Waiting to run
test replay / build (replay, clang) (push) Waiting to run
test scripting / test-scripting (push) Waiting to run
test scripts / build (astyle-cleanliness) (push) Waiting to run
test scripts / build (check_autotest_options) (push) Waiting to run
test scripts / build (logger_metadata) (push) Waiting to run
test scripts / build (param_parse) (push) Waiting to run
test scripts / build (python-cleanliness) (push) Waiting to run
test scripts / build (validate_board_list) (push) Waiting to run
test blimp / build (base) (push) Waiting to run
test blimp / build (clang) (push) Waiting to run
test blimp / autotest (sitltest-blimp) (push) Blocked by required conditions
test copter / build (base) (push) Waiting to run
test copter / build (clang) (push) Waiting to run
test copter / autotest (sitltest-copter-tests1a) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1b) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1c) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1d) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1e) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests2a) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests2b) (push) Blocked by required conditions
test copter / build-gcc-heli (push) Waiting to run
test copter / autotest-heli (sitltest-heli) (push) Blocked by required conditions
test ap_periph / build-gcc-ap_periph (push) Waiting to run
test ap_periph / autotest-can (sitltest-can) (push) Blocked by required conditions
test plane / build (base) (push) Waiting to run
test plane / build (clang) (push) Waiting to run
test plane / autotest (sitltest-plane-tests1a) (push) Blocked by required conditions
test plane / autotest (sitltest-plane-tests1b) (push) Blocked by required conditions
test plane / autotest (sitltest-quadplane) (push) Blocked by required conditions
test rover / build (base) (push) Waiting to run
test rover / build (clang) (push) Waiting to run
test rover / autotest (sitltest-balancebot) (push) Blocked by required conditions
test rover / autotest (sitltest-rover) (push) Blocked by required conditions
test rover / autotest (sitltest-sailboat) (push) Blocked by required conditions
test sub / build (base) (push) Waiting to run
test sub / build (clang) (push) Waiting to run
test sub / autotest (sitltest-sub) (push) Blocked by required conditions
test tracker / build (base) (push) Waiting to run
test tracker / build (clang) (push) Waiting to run
test tracker / autotest (sitltest-tracker) (push) Blocked by required conditions
test unit tests and sitl building / build (examples, base) (push) Waiting to run
test unit tests and sitl building / build (examples, clang) (push) Waiting to run
test unit tests and sitl building / build (sitl, base) (push) Waiting to run
test unit tests and sitl building / build (sitl, clang) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, base) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, clang) (push) Waiting to run
2025-04-02 07:05:04 +11:00
Andrew Tridgell d3a6cc2269 Plane: improved VTOL recovery and added spin recovery
added Q_ASSIST_OPTIONS for disabling new features
2025-04-02 07:05:04 +11:00
Andrew Tridgell 3ab0e9322f Plane: reset pos control on recovery if high speed
this avoids an issue with not pitching up
2025-04-02 07:05:04 +11:00
Andrew Tridgell 8079af4014 Plane: fixed the force_fw_control_recovery logic for tiltrotors
if we are forcing recovery then don't use yaw control override
2025-04-02 07:05:04 +11:00
Andrew Tridgell 4d112e01e5 Plane: ensure tiltrotors use consistent FW/VTOL rates
during forward transition of tiltrotors we use the VTOL attitude
controller until min airspeed is reached. This fixes the FW rate
controllers to be slaved to the VTOL controller for that time
2025-04-02 07:05:04 +11:00