Commit Graph

1082 Commits

Author SHA1 Message Date
Bill Geyer c77f688032 AP_Motors: fix spacing
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-06-09 13:24:38 -04:00
MattKear 3a311a9d69 AP_Motors: Heli: Fix SWSH logging for reversed collectives 2024-06-09 13:24:38 -04:00
MattKear 5784abde1f AP_Motors: Heli dual: Constrain cyclic roll for intermeshing 2024-06-08 23:13:28 -04:00
Andrew Tridgell e5a63eaad0 AP_Motors: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
xingchengGE 3ba16eb933 AP_Motor: Fix a typo 2024-05-29 16:28:02 +09:00
Bob Long 7e8f9c72fb AP_MotorsTri: reverse-frame cleanup and fixes
- fix motor test order for reverse frame
- add frame type string for reverse frame
- fix initialization of _pitch_reversed flag
2024-05-21 15:20:27 +10:00
Bob Long dc3f2c9724 AP_Motors_test: add tri frames to json output 2024-05-21 15:20:27 +10:00
MattKear 7b02a99d14 AP_MotorsHeli: Swash: Make motor numbers const 2024-05-09 15:19:44 -04:00
Andrew Tridgell 04c3770a77 AP_Motors: use AHRS for get_air_density_ratio() 2024-05-07 21:19:06 +10:00
Gone4Dirt 71a4885c87 AP_MotorsHeli: Add collective and cyclic blade pitch angle logging 2024-05-04 21:36:24 -04:00
Henry Wurzburg c91fe8a44f AP_Motors:explain PMWRange/Angle PWM types in metadata 2024-05-01 17:26:44 +10:00
Ferruccio Vicari 1c104557b7 AP_Motors: fix heli yaw behavior in autorotation 2024-04-18 11:13:50 -04:00
Iampete1 727f28bb99 AP_Motors: add new PWM_TYPE_ANGLE 2024-03-18 21:48:55 -03:00
Iampete1 1766bfe45a AP_Motors: Heli: add helper to log runup event 2024-03-19 11:01:50 +11:00
TsuyoshiKawamura a2549c5d6b AP_Motors: fix comment of HeliQuad 2024-03-09 09:09:07 +09:00
Andrew Tridgell 171da3dd08 AP_Motors: smoother ramp down in output_motor_mask
stop changing motors outside the given mask in output_motor_mask,
which gives smoother ramp down in tilt quadplanes when we are
transitioning to forward flight

thanks to Pete for the suggestion
2024-03-06 08:01:52 +11:00
Andrew Tridgell 2b784e01f9 AP_Motors: allow output_motor_mask() to work properly with slew limits
this fixes tilt quadplanes with slew limits when we set motors state
to SHUT_DOWN
2024-03-06 08:01:52 +11:00
Iampete1 24c843dc26 AP_Motors: Heli: remove inverted flight state 2024-03-05 10:24:06 +09:00
Iampete1 1bf7792fe5 AP_Motors: Heli: remove `output_armed_zero_throttle` and use identical `output_armed_stabilizing` 2024-03-05 10:20:03 +09:00
Iampete1 744df1ceba AP_Motors: Tricopter: fix actuator indexing 2024-02-27 01:03:28 +00:00
Peter Barker 5de4ac4258 AP_Motors: use GCS_SEND_TEXT 2024-02-13 20:56:29 +11:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker eda6d0b6a0 AP_Motors: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker bccfd98d0e AP_Motors: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Henry Wurzburg 5c1ed968b1 AP_Motors:expand heli tail param metadata 2023-12-20 17:50:38 -05:00
Iampete1 1bcf69e0c7 AP_Motors: Heli: add helper to convert from AP_Motors::SpoolState to AP_MotorsHeli_RSC::RotorControlState 2023-12-19 10:38:49 +11:00
Iampete1 287e9726d7 AP_Motors: Heli: RotorControlState to enum class 2023-12-19 10:38:49 +11:00
Peter Barker 6efc6d0f2d AP_Motors: correct compilation when GCS library not available 2023-12-12 11:41:47 +11:00
Iampete1 6d546eed8f AP_Motors: Example: allow setting of COL2YAW and autorotation flag 2023-12-12 11:23:15 +11:00
Iampete1 5dcdd238a9 AP_Motors: Example: allow testing of heli tail type 2023-12-12 11:23:15 +11:00
Iampete1 1c8ab3853c AP_Motors: Heli: Single: tail type tidyup 2023-12-12 11:23:15 +11:00
Iampete1 b8114da102 AP_Motors: Heli: dual and quad: remove un-needed override methods 2023-12-05 09:12:37 +09:00
Iampete1 55242445b2 AP_Motors: example: support setting and testing DUAL_MODE 2023-11-14 10:25:11 +11:00
Iampete1 aa8c477a26 AP_Motors: Heli_Dual: refactor swashplate mixing 2023-11-14 10:25:11 +11:00
Gone4Dirt 2fe100d7bc AP_Motors_Heli: white space 2023-11-14 10:24:03 +11:00
Gone4Dirt 927418b87c AP_Motors_Heli: Fix DDFP thrust linearisation by using min max pwm in servo library
AP_Motors_Heli: Add H_YAW_TRIM param conversion for DDFP tails
2023-11-14 10:24:03 +11:00
Gone4Dirt 5bd67d8e04 AP_Motors: Set default heli thrust linearisation to linear. 2023-11-14 10:24:03 +11:00
Michael du Breuil 9e32456003 AP_Motors: Add a seprate spool down time, if it's 0 use spool up time 2023-10-03 08:04:56 +09:00
Ryan Friedman 85343baa01 AP_Motors: Add missing shebang
* This script was marked as executable but did not have a shebang

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-09-08 17:09:26 +10:00
Henry Wurzburg 8d86503ed5 AP_Motors: correct metadata for H_DDFP_SPIN_MIN param 2023-08-07 07:36:47 -04:00
Iampete1 3e246c9d25 AP_Motors: Heli: remove loop rate "RSC control mode change failed" meassage 2023-08-01 09:12:51 +09:00
Iampete1 c5f3d5a98b AP_Motors: Heli: move heli parameter check to arming check 2023-08-01 09:12:51 +09:00
Willian Galvani 82bae765ff AP_Motors6DOF: scale pwm output linearly to MOT_PWM_MIN/MAX 2023-07-27 10:46:18 -03:00
Iampete1 49226b6dcf AP_motors: Example: Test: allow to run on heliquad 2023-07-18 08:05:26 +09:00
Iampete1 c3200b00dd AP_Motors: Example: Test: make mostly flake 8 clean 2023-07-18 08:05:26 +09:00
Iampete1 b175e7a2f9 AP_Motors: example: heli comparison: update functionality and support setting swash type 2023-07-18 08:05:26 +09:00
Iampete1 c5c26e89da AP_Motors: example: allow setting shashplate type at runtime 2023-07-18 08:05:26 +09:00
Iampete1 b327f00b25 AP_Motors: heli: move swash servo defualt and setup into swash lib 2023-07-18 08:05:26 +09:00
Iampete1 d32d1dfec8 AP_Motors: Heli: get output mask from swashplate lib 2023-07-18 08:05:26 +09:00
Iampete1 b61b761141 AP_Motors: Heli: move swashplate output state and code into swash lib 2023-07-18 08:05:26 +09:00