Commit Graph

1061 Commits

Author SHA1 Message Date
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
Iampete1 6717da708c AP_MotorsHeli: swash: combine configure and calculate_roll_pitch_collective_factors functions 2023-07-18 08:05:26 +09:00
Iampete1 83f216a386 AP_Motors: Heli: Swash: re-work roll pitch and collecive factor caculation 2023-07-18 08:05:26 +09:00
muramura d5dd4151eb AP_Motors: If frame specification is FALSE, frame name is unsupported 2023-07-11 10:22:26 +09:00
Gone4Dirt d5e72a5440 AP_Motors: Fix up MotorTestSweep.sh now that frame_class is an enforced argument 2023-07-11 10:10:14 +10:00
Gone4Dirt 2563edc3c3 AP_Motors: Allow frame class to be a run-time arg to AP_Motors_test and add all heli frame classes to test
AP_Motors: Example: init each frame type correctly and warn for init fail
2023-07-11 10:10:14 +10:00
Iampete1 f55267017b AP_Motors: Heli: Remove unused init_output return and don't assume single for initialised OK 2023-07-04 11:31:21 +10:00
Iampete1 d57ce2ad6f AP_Motors: Add motor test checks method to refuse test 2023-06-27 10:24:15 +10:00
Iampete1 c5733e7634 AP_Motors: Heli: remove _output_test_seq as used in motor test 2023-06-27 10:24:15 +10:00
Iampete1 97541f82d0 AP_Motors: Heli RSC: remove incorrect set range call 2023-06-27 09:04:18 +10:00
bnsgeyer 251eb10cfa AP_Motors: make defaults dependent on vehicle type 2023-06-14 22:26:40 -04:00
bnsgeyer 1e521d1a5d AP_Motors: Move DDFP thrust linearization params into sub group 2023-06-14 22:26:40 -04:00
bnsgeyer 270c6a2028 AP_Motors: Tradheli-fix servo4 param calls and ensure no divide by zero 2023-06-14 22:26:40 -04:00
bnsgeyer cc89c1ac1a AP_MotorsHeli: add thrust linearization for DDFP tails 2023-06-14 22:26:40 -04:00
Peter Barker 6c9ea896c7 AP_Motors: allow AP_SCRIPTING_ENABLED to come from hwdef files 2023-06-09 16:10:52 +10:00
Iampete1 4fcd767f9e AP_Motors: example: add ability to dump all matrix motor layouts in JSON format 2023-05-23 10:18:17 +10:00
Iampete1 bea98fa909 AP_Motors: test: fix for heli 2023-05-09 10:38:33 +10:00
Gone4Dirt 78eb4a840d AP_MotorsHeli: Whitespace 2023-05-08 19:05:17 -04:00
Gone4Dirt 191ce55e1d AP_MotorsHeli: Remove pure virtuals and unnecessary overrides 2023-05-08 19:05:17 -04:00
Gone4Dirt 4b2c1368bd AP_MotorsHeli: move rotor_speed_above_critical to RSC so that it is actually used 2023-05-08 19:05:17 -04:00
Iampete1 81f3d3edda AP_Motors: Heli: get_output_mask return only motors 2023-05-05 22:20:16 -04:00
Andy Piper 6248a657c8 AP_Motors: allow use of raw voltage for battery compensation driven by MOT_OPTIONS 2023-04-26 17:04:45 +10:00