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
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