Commit Graph

154 Commits

Author SHA1 Message Date
Iampete1 24c843dc26 AP_Motors: Heli: remove inverted flight state 2024-03-05 10:24:06 +09: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
Iampete1 1c8ab3853c AP_Motors: Heli: Single: tail type tidyup 2023-12-12 11:23:15 +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
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
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 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 c5733e7634 AP_Motors: Heli: remove _output_test_seq as used in motor test 2023-06-27 10:24:15 +10: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
Gone4Dirt 191ce55e1d AP_MotorsHeli: Remove pure virtuals and unnecessary overrides 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
Bill Geyer 78720e9816 AP_MotorsHeli: patch for manual autorotation 2023-02-18 10:19:50 -05:00
Bill Geyer 40d18f46cf AP_MotorsHeli: Change AROT_PCT to AROT_IDLE 2023-02-05 17:54:33 -05:00
Ferruccio1984 e935913f95 AP_Motors: Support for Autorotation implementation
-enables faster re-spool(user settable timer) after power engagement
-flare&touchdown controllers;
-rangefinder for distance from ground evaluation;
-higher refresh rate for rangefinder;
-attitude targets implementation for "guided" autorotation;
-retrieve zero lift collective position
2023-02-05 17:54:33 -05:00
Bill Geyer 93b0519ad2 AP_MotorsHeli: improve collective to yaw compensation 2022-12-22 07:07:34 -05:00
Leonard Hall 67205f8114 AP_Motors: Support changing update period 2022-12-13 17:10:06 +11:00
Iampete1 c1a9f75034 AP_Motors: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 43832649ec AP_Motors: convert to 32 bit motor mask 2022-05-22 12:07:37 +10:00
Peter Barker 434f49e6b6 AP_Motors: correct initialised_ok state for HeliDual+Quad
initialised_ok was being set to false when frame/class was set as the
method was not overridden and thus Heli's set_frame_and_class was
setting initialised_ok to false.  When the init_output method was called
it would be unconditionally reset to true.
2022-05-18 12:25:26 +09:00
Bill Geyer f7b420f131 AP_Motors: move turbine start to update_turbine_start and style cleanup 2022-02-23 14:22:47 +09:00
Ferruccio1984 3a67b17142 AP_Motors: tradheli support for turbine start 2022-02-23 14:22:47 +09:00
Iampete1 5181003228 AP_Motors: always check armed and interlocked in motor test 2022-02-10 07:43:40 +09:00
MidwestAire 77f0fdf112 AP_Motors:clean up whitespace in heli motors class 2021-12-14 22:50:05 -05:00
Bill Geyer 05e8285f93 AP_Motors: use RPM singleton to get rpm in RSC 2021-12-14 22:50:05 -05:00
MidwestAire 42a131522b AP_Motors:Heli - new rotor speed control modes for autothrottle governor 2021-12-14 22:50:05 -05:00
Bill Geyer 3b40df133e AP_Motors: add spool down complete flag 2021-12-05 22:12:13 -05:00
Bill Geyer d2c37daa66 AP_Motors: change internal variable names and methods for mid collective to be more accurate 2021-11-10 16:45:17 -05:00
Bill Geyer d02097bf1c AP_Motors: add protection for new tradheli parameters 2021-11-10 16:45:17 -05:00
Bill Geyer 1a50dce206 AP_Motors: coll setup uses actual blade pitch angle 2021-11-10 16:45:17 -05:00
Gone4Dirt 6dc100728f AP_Motors: Fix spelling of autorotation flag 2021-02-08 22:09:49 -05:00
Peter Barker 8f8283e0f0 AP_Motors: rc_map_mask -> motor_mask_to_srv_channel_mask
the naming of this function precedes our rc/srv-channel split
2021-01-05 10:19:32 +11:00
bnsgeyer 09b9ad83dc AP_Motors: tradheli - add support to determine below mid collective 2020-12-21 23:33:48 -05:00
bnsgeyer 6c8a85ee04 AP_Motors: updates to new integrator and make selectable 2020-12-21 23:33:48 -05:00
bnsgeyer 84fb3afbcb AP_Motors: Tradheli support for integrator management and hover collective learning 2020-12-21 23:33:48 -05:00
Peter Barker 41ab59dcdb AP_Motors: eliminate flags structure
Saves about 44 bytes
2020-09-22 20:26:24 +10:00
Gone4Dirt b2d2bf61da AP_Motors: Support autorotation windows on external governors 2020-05-20 21:56:09 -04:00
bnsgeyer 2a8e2d19fa AP_Motors: Tradheli-incorporate DDFP for counter clockwise rotating rotors 2019-12-16 10:48:09 +09:00
bnsgeyer e193c45946 AP_Motors: tradheli-update parameter display names 2019-12-10 12:21:56 +09:00
Gone4Dirt 98a4335af4 AP_Motors: Added support for autorotation 2019-11-29 08:06:10 +08:00
Peter Barker ef6a34a9f0 AP_Motors: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends 2019-11-26 10:17:17 +11:00