Randy Mackay
e3ff4ed9c4
MotorsHeli: integrate RotorControlState
10 years ago
Robert Lefebvre
bde43412d8
AP_MotorsHeli: Fix RSC Mode 3
10 years ago
Robert Lefebvre
38ccd6e04f
AP_MotorsHeli_RSC: Fix tail_type control
10 years ago
Robert Lefebvre
535da1d79a
AP_MotorsHeli_Single: DDVPT to use it's own ramp and runup times
10 years ago
Robert Lefebvre
28318c4116
AP_MotorsHeli: Move Output functions into parent class
10 years ago
Robert Lefebvre
84102c3e3f
AP_MotorsHeli: Rework how servo setup is done.
10 years ago
Robert Lefebvre
345663f705
AP_MotorsHeli: Simplify servo init/reset
10 years ago
Robert Lefebvre
b11600aebe
AP_MotorsHeli: Move set_delta_phase_angle into _Single class
10 years ago
Robert Lefebvre
3756c6b3f3
AP_MotorsHeli: Create RSC Throttle Curve mode for controlling gas engines.
10 years ago
Robert Lefebvre
f853979816
AP_MotorsHeli: run RSC Control function in Output Min function
...
Move Output_Min() function into Heli_Single class as it will eventually be overloaded by other helicopter class types.
10 years ago
Robert Lefebvre
315f0408ae
AP_MotorsHeli: RSC controller to use speed ramp as simple float scalar
10 years ago
Robert Lefebvre
91c7663ca2
AP_MotorsHeli: Set range of new RSC Servo object.
10 years ago
Robert Lefebvre
cefa0c28a6
AP_MotorsHeli: RSC Mode 0 no longer a valid mode
10 years ago
Robert Lefebvre
064cc63512
AP_MotorsHeli: Colyaw function to check if rotor speed control is above idle
10 years ago
Robert Lefebvre
77e4bf39aa
AP_MotorsHeli: rework RSC output() function to implement idle speed function
...
Also, split out speed_ramp function
10 years ago
Robert Lefebvre
c3e7eed299
AP_MotorsHeli_Single: Fix recalc_scalars function
10 years ago
Robert Lefebvre
27f8d6bcd5
AP_MotorsHeli: Change RSC output() function into a state machine.
10 years ago
Robert Lefebvre
10b0be9e75
AP_MotorsHeli: Fully detail tradheli output functions and move manual servo handling
10 years ago
Robert Lefebvre
7dda0f651a
AP_MotorsHeli: Rename tradheli servo objects for clarity
10 years ago
Robert Lefebvre
457d939e77
AP_MotorsHeli: Update includes so that it builds
10 years ago
Fredrik Hedberg
411947ea7c
AP_Motors: Rename output_yaw to move_yaw in AP_MotorsHeli_Single.
10 years ago
Fredrik Hedberg
97e09fa9b0
AP_Motors: Move traditional helicopter controls into AP_MotorsHeli_Single.
...
Original commit by fhedberg, had to fix merge conflicts and now it appears I did the commit?
10 years ago
Fredrik Hedberg
af69a20ba5
AP_Motors: Break out yaw output in AP_MotorsHeli.
10 years ago
Fredrik Hedberg
feb32f40ed
AP_Motors: Break out servo init and reset in AP_MotorsHeli.
10 years ago
Fredrik Hedberg
ae9a16dc27
AP_Motors: Move rotor speed control into AP_MotorsHeli_RSC.
10 years ago
Gustavo Jose de Sousa
1e619c6c59
AP_Motors: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Robert Lefebvre
abb6eba291
AP_MotorsHeli: Change allow_arming check to use _rotor_speed_estimate
...
In future, this will be used to check actual rotor speed (measured) if available, to prevent trying to arm with the rotor spinning.
10 years ago
Robert Lefebvre
992c9c75bb
AP_MotorsHeli: Create parameter_check method.
10 years ago
Robert Lefebvre
e2fe640e6c
Copter: Clean up helicopter allow_arming() function
10 years ago
Robert Lefebvre
61d6c5aa1d
AP_Motors: Creation of AP_Motors_Multirotor class
10 years ago
Robert Lefebvre
11214b3414
AP_Motors: move constraints to set_throttle
10 years ago
Robert Lefebvre
0c92565d23
AP_MotorsHeli: add Critical Rotor Speed param, use to switch off runup_complete
10 years ago
Robert Lefebvre
8b917b82ee
AP_MotorsHeli: Simplify set_desired_rotor_speed function definition
10 years ago
Robert Lefebvre
79e8c8f7f7
AP_MotorsHeli: whitespace fixes
10 years ago
Robert Lefebvre
d24664ccf9
AP_MotorsHeli: Semantic change. Motor Runup to Rotor Runup
10 years ago
Robert Lefebvre
65ca09600c
AP_Motors: Heli eliminate _dt member and fix rsc_runup calculation
10 years ago
Randy Mackay
1a1fa7ca4b
AP_MotorsHeli: add comment to avoid param conflict
10 years ago
Robert Lefebvre
b8181b6b90
AP_Motors: RCMAP fix
...
Remove all RC Input channels passed as reference into AP_Motors. All input handling self-contained inside AP_Motors.
Rework Tricopter to use internal servo calcs.
10 years ago
Robert Lefebvre
73bafa131e
AP_MotorsHeli: Overload output()
...
To protect it from future interference from Multirotor code.
10 years ago
Robert Lefebvre
d3ce68a8ca
AP_MotorsHeli: Overload update_throttle_filter()
...
Do not reset filter to zero when disarmed to allow collective pitch servo movement.
10 years ago
Randy Mackay
3d9a6a69e2
MotorsHeli: COLYAW to float
10 years ago
Randy Mackay
edfa206bb8
Motors_Heli: nest heli params
10 years ago
Robert Lefebvre
1a482de5e2
AP_MotorsHeli: Overload output_armed_zero_throttle
10 years ago
Jonathan Challinger
8e442675a7
AP_Motors: introduce set_stabilize(bool), specifies whether torque demands should be output
10 years ago
Randy Mackay
72c3e9cc72
TradHeli: implement get_motor_mask
11 years ago
Robert Lefebvre
92bdf24dba
AP_MotorsHeli: Add To-Do. Swash setup hasn't seemed to work right for a while, this might be why. Confirm later.
11 years ago
Robert Lefebvre
789b1018fc
AP_MotorsHeli: Change set_delta_phase_angle so that it forces recalculation of collective factors.
11 years ago
Robert Lefebvre
fd542e99d8
AP_MotorsHeli: Create Delta Phase Angle variable and method to set. Will be used by CCComp code.
11 years ago
Robert Lefebvre
0680b88abd
AP_MotorsHeli: Add main loop rate time variable and method. Change RSC increment calc to account for loop rate time.
11 years ago
Robert Lefebvre
979abb9fbd
TradHeli: Cause DDVP Tail Motor to stop immediately when Ch8 is 0.
11 years ago