Robert Lefebvre
e3a0f1568d
Copter: Tradheli to check rotor speed control input before arming
...
Also, force rsc_control input to 0 when disarmed. This prevents condition where AP_MotorsHeli can receive a rotor speed command greater than zero while disarmed, which was causing the ColYaw function to move the rudder servo. These two changes are somewhat tied together as it required changing the arming_check to check the RSC_Control not desired_speed from AP_MotorsHeli.
10 years ago
Randy Mackay
35dd7322d2
Copter: float constant fix for heli's check_dynamic_flight
...
No functional change
10 years ago
Robert Lefebvre
ee6508d5a7
Copter: Event Log rotor speed going below critical
10 years ago
Robert Lefebvre
c6281c772d
Copter: add rotor_runup_complete Event Logging
10 years ago
Andrew Tridgell
e5e21ddcce
Copter: fixed heli SITL build
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Robert Lefebvre
80b4ca99f8
Copter: Heli Semantic Change. Motor Runup to Rotor Runup.
10 years ago
Robert Lefebvre
a8c4274db4
Copter: Tradheli: eliminate motors.set_dt
10 years ago
Robert Lefebvre
8f275ca2c4
Copter: Employ heli_radio_passthrough() for servo setup
10 years ago
Robert Lefebvre
70a9a5699c
Copter: usage of rc_3.servo_out to use motors.get_throttle
...
servo_out is no longer a data holder for control functions
10 years ago
Andrew Tridgell
554de1f2d7
Copter: added channel objects named after input function
...
this follows the pattern used in plane and rover
10 years ago
Randy Mackay
09a98b89b7
Copter: add RTL to front of RTLState enum values
...
This removes the confusing Land enum value which also appears in the
flight mode enum
10 years ago
Jonathan Challinger
f93ff2d3ec
Copter: use new lowpass filter
10 years ago
Randy Mackay
199dc3454d
Copter: replace GPS_ok with position_ok
...
position_ok uses the EKF's filter status if the EKF is being used
otherwise it falls back to the GPS based checks used by inertial nav
10 years ago
Robert Lefebvre
aff98e34e5
TradHeli: Force recalc scalers after setting main loop time in MotorsHeli so that ramp scalers are right for 32-bit.
11 years ago
Robert Lefebvre
c7ccd22d96
TradHeli: Set main loop rate time in motors class.
11 years ago
Robert Lefebvre
7ef4c11c92
TradHeli: Initialize Rate FF filters.
11 years ago
Robert Lefebvre
8eb557d1e0
TradHeli: Add Heli.h file
11 years ago
Robert Lefebvre
08e135151a
TradHeli: Add Mode Filter on RC8 input for RSC Controller.
11 years ago
Robert Lefebvre
ff71b0fa35
TradHeli: Create new function to move data between AP_MotorsHeli and AP_AttitudeControl.
11 years ago
Randy Mackay
b37b0c5061
TradHeli: remove use of throttle_mode
11 years ago
Randy Mackay
91124bcf8b
TradHeli: remove get_heli_rate_yaw from main code
11 years ago
Randy Mackay
3b0de0d23d
Copter: integrate trad heli AttControl
11 years ago
Randy Mackay
df9d1614e2
Copter: remove PID logging
...
Almost never used and eats up limited log description space
11 years ago
Robert Lefebvre
794890884c
TradHeli: enable Landing Collective when we are not moving
...
This prevents full negative pitch when touching down in Alt Hold or Auto-Landing.
11 years ago
Randy Mackay
9485363c53
TradHeli: dynamic flight speed minimum to 5m/s
11 years ago
Randy Mackay
8c9ab50ba2
TradHeli: restore CC_COMP and PIRO_COMP
11 years ago
Randy Mackay
c9c803ffd4
TradHeli: move STAB_COL_MIN to main parameter list
11 years ago
Randy Mackay
197fc67897
TradHeli: move pilot desired rotor speed to heli.pde
11 years ago
Randy Mackay
527f05ddec
Copter: remove unused init_rate_controllers
11 years ago
Robert Lefebvre
232a116973
TradHeli: Use Leaky Integrator on Yaw Rate controller
...
Use when rotor is not running to prevent the rudder from slowly moving over
11 years ago
Randy Mackay
3ce16113b5
TradHeli: use landing collective when landed or landing
11 years ago
Randy Mackay
34fb70cfc7
TradHeli: formatting and param description changes
11 years ago
Randy Mackay
46118b59d7
TradHeli: integrate motor lib changes
11 years ago
Randy Mackay
8f2c9591ff
TradHeli: dynamic_flight flag based on inertial nav speed
...
Created new heli.pde for heli_integrated_swash and check_dynamic_flight
11 years ago
rmackay9
998058ec07
ArduCopter - removed unused motor pde files including heli.pde, motors_hexa.pde, motors_octa.pde, motors_octa_quad.pde, motors_tri.pde and motors_y6.pde
13 years ago
Robert Lefebvre
be3fe36c52
Small fix on the Traditional Helicopter Collective-Yaw compensation calculation.
13 years ago
Robert Lefebvre
a480b32400
Added support for TradHeli H1 swashplate type. Added new param heli_h1_swash_enabled.
...
Signed-off-by: Robert Lefebvre <robert.lefebvre@gmail.com>
13 years ago
Andrew Tridgell
0ff44563ec
ACM: use g.rc_speed for all APM_RC.SetFastOutputChannels calls
13 years ago
Robert Lefebvre
e49c2d2871
Rescale TradHeli roll_out and pitch_out into the min and max ranges to provide linear motion across the input range instead of stopping when the input hits the constrain value. These calculations are based on an assumption of the user specified roll_max and pitch_max coming into this equation at 4500 or less, and based on the original assumption of the total g.heli_servo_x.servo_out range being -4500 to 4500.
...
Signed-off-by: Robert Lefebvre <robert.lefebvre@gmail.com>
13 years ago
Randy Mackay
232359186e
TradHeli - fixed small parameter bug affecting helis. The servo parameters were declared as GSCALAR instead of GGROUP in Parameters.pde.
...
also renamed heli parameters from _coll_ to the more descriptive _collective_
13 years ago
Randy Mackay
498970a948
TradHeli - tiny fix for yaw_offset. Yaw_offset is used to proactively counteract rotational force caused by changing the collective pitch (i.e. rapidly climbing or decending). There was a small bug for when the collective pitch is negative (i.e. powered decent) in which case the offset was in the incorrect direction.
13 years ago
Randy Mackay
693a2cfdcd
TradHeli - fix to servo limits. They had been unnecessarily limited to the collective pitch's min and max but actually there are cases (for example when the swash is leaning over 45degrees) where one servo goes well beyond the collective pitch's min or max.
13 years ago
Pat Hickey
6c03307217
ArduCopter Heli: add motors_output_enable function
13 years ago
Pat Hickey
a19afd926a
APM_RC & ArduCopter: Change interface to SetFastOutputChannels to use _BV
...
* Every use of MSK_CH_n changed to _BV(CH_n)
* Easier to read, and will allow CH_n to be parameterized without needing
a separate macro expansion for the MSK value.
13 years ago
Jason Short
37cda3c364
Cosmetic
13 years ago
Randy Mackay
68e6be5eeb
TradHeli - fixed roll/pitch so it's not scaled when throttle is scaled
13 years ago
Pat Hickey
eee2da01ac
Arducopter: each motors_ pde uses APM_RC.SetFastOutputChannels
13 years ago
Randy Mackay
f397bae793
ArduCopter Alt Hold - Change to not run get_nav_throttle if manually adjusting altitude with manual_boost - removes possibility of I term running up
...
Tuning - added ability to modify altitude (position, not rate) controller
TradHeli - Fairly large change to how throttle is scaled and collective moves.
13 years ago