Robert Lefebvre
79e8c8f7f7
AP_MotorsHeli: whitespace fixes
10 years ago
Robert Lefebvre
1424b17a83
AP_Motors_Heli: Change default RSC_SETPOINT to 700
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
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
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
7ab76dbd0e
Motors: add loop_rate to constructor for all frames
10 years ago
Randy Mackay
9b9f6cd47a
AC_MotorsHeli: init member to resolve compiler warning
11 years ago
Randy Mackay
72c3e9cc72
TradHeli: implement get_motor_mask
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
Randy Mackay
3610cfe24c
TradHeli: output_test for individual motors
...
Based on original work by Nils Hogberg
11 years ago
Randy Mackay
18d3907928
TradHeli: use refs for all RC_Channels
11 years ago
Randy Mackay
80ec61f217
TradHeli: make accessor methods const
11 years ago
Randy Mackay
1426078cdb
TradHeli: disable aux channels 7 and 8
11 years ago
Robert Lefebvre
d441354961
TradHeli: Minor change to two param defaults
...
Also one param name in the code clarified.
11 years ago
Randy Mackay
7233a567fb
TradHeli: add accessor for phase_angle
11 years ago
Randy Mackay
c9c803ffd4
TradHeli: move STAB_COL_MIN to main parameter list
11 years ago
Randy Mackay
b71c6bfd76
TradHeli: add RSC_RUNUP_TIME param and rotor speed estimate
11 years ago
Randy Mackay
bc4dba0eea
TradHeli: ext gyro gain range 0 to 1000
11 years ago
Randy Mackay
197fc67897
TradHeli: move pilot desired rotor speed to heli.pde
11 years ago
Randy Mackay
942c14258b
TradHeli: ramp up changes
...
Rewrote tail and main rotor ramp up methods
Moved direct drive ESC speed control into rsc_control method
Pass in ch7 servo as servo_aux to TradHeli motors object constructor
split CH7_SETPOINT parameter into GYR_GAIN and DIRECTDRIVE parameters
replaced RSC_RATE with uint8_t RSC_RAMP_TIME parameter
rename GOV_SETPOINT parameter to RSC_SETPOINT
RSC_MODE parameter description updated to indicate it controls the
source of main rotor speed
11 years ago
Robert Lefebvre
9ae66c1773
TradHeli: add support for drive tail rotors
...
Repurposed external gyro and made it multi-funcitonal.
required PWM on Ch8 to start the motor in RSC Mode moved up from 100 to 400. This is to facilitate two-stage switching of the motors with PWM>100 starting the tail motor, and PWM>400 starting the main motor.
Additional amendments by Randy
11 years ago
Randy Mackay
7ae0d3320b
TradHeli: add landing collective min
11 years ago
Randy Mackay
1f65bb537f
TradHeli: add get_pilot_desired_collective
...
Perhaps this should be moved to the main code's heli.pde sketch
11 years ago
Randy Mackay
13a412ee21
TradHeli: make parameters and variables private
...
add accessors for variables and params required in main code
replace tabs with spaces
11 years ago
Randy Mackay
2cc48ffcd6
Copter: formatting and param description changes
11 years ago
Robert Lefebvre
c812d07993
TradHeli: Creating motor_runup_complete bool which is to confirm that the heli motor is running. This will be used for advanced features in the future.
12 years ago
Andrew Tridgell
81f7ae9108
AP_Motors: fixed indent-tabs-mode
12 years ago
Randy Mackay
bd07b1e57b
ACMotors: remove unused get_num_motors function
...
Saves about 4 bytes of RAM
12 years ago
Randy Mackay
1a7cffefe6
TradHeli: change coll_out to int16_t
...
was incorrectly defined as an AP_Int16 parameter
12 years ago
Andrew Tridgell
f91ddf5df9
AP_Motors: removed board type define
12 years ago
Andrew Tridgell
7582c882e6
Motors: updates for new AP_Param API
12 years ago
Pat Hickey
c6fe5e5340
AP_Motors: ported to AP_HAL
12 years ago
Robert Lefebvre
0eb57bf93d
ACM: TradHeli
...
Fix to make update_throttle_cruise work with stab_throttle scaling.
12 years ago
Robert Lefebvre
6b1fee767a
ACM: TradHeli
...
Creating Stab_Collective Function to allow for different collective ranges between Stabilize and other modes.
This makes for a smoother collective action in Stabilize mode with manual throttle, while still allowing full collective travel in Acro and other modes.
12 years ago
rmackay9
9e66b555cb
ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library
13 years ago
uncrustify
744ad19630
uncrustify libraries/AP_Motors/AP_MotorsHeli.h
13 years ago
Robert Lefebvre
575b99b4be
TradHeli: Creating Flybar Acro mode.
13 years ago
Robert Lefebvre
bf6c934c32
Changing TradHeli param motors.acro_mode to motors.flybar_mode to better reflect it's intent.
13 years ago
Robert Lefebvre
e6b5af7143
Adding new Trad Heli parameters.
13 years ago
Andrew Tridgell
518d6365ff
AP_Param: update remaining libraries for new constructor syntax
13 years ago
Robert Lefebvre
df17ff3bc1
AP_MotorsHeli Syntax correction.
13 years ago
rmackay9
c82a403b88
AP_MotorsHeli: Added reference to "Arduino.h" to allow autotest builder to work.
...
Moved around initialisation of parmeters in AP_MotorHeli object to remove compiler warnings.
13 years ago
Robert Lefebvre
5f058fb9b2
TradHeli: Incorporating Ext ESC Control
13 years ago