Rustom Jehangir
83ff3931b8
Sub: Refactor "Copter" to "Sub".
8 years ago
Rustom Jehangir
3da7c95e9b
Sub: New vehicle type, derived from ArduCopter.
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Andrew Tridgell
5a87ae3f01
Copter: use new SRV_Channels API
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Jonathan Challinger
80f3541933
Copter: add configurable arming delay
9 years ago
Andrew Tridgell
3a8ed06267
Copter: added TKOFF_NAV_ALT parameter
...
this adds TKOFF_NAV_ALT which controls the altitude above takeoff that
navigation can begin. It is meant for unstable vehicles such as helis
to prevent blade strike during initial takeoff.
This also adds a new parameter class ParametersG2 which can hold 64
parameters. This is to avoid running out of parameters in the first
256 block
9 years ago
Andrew Tridgell
86d8450666
Copter: use loop rate for copter
...
this allows for SCHED_LOOP_RATE below 400 in SITL for copter
9 years ago
Andrew Tridgell
55ad1548e4
Copter: fixed heli rotor speed control from AP_Motors refactor
9 years ago
Randy Mackay
5ac13c0355
Copter: move rangefinder variables into structure
...
moved in rangefinder_alt, rangefinder_alt_health and rangefinder_enabled
9 years ago
Randy Mackay
7689315ba2
Copter: rename sonar to rangefinder
9 years ago
skyscraper
49d3410896
ArduCopter: fixup RC_Channel data member accesses to function calls
9 years ago
Randy Mackay
ef5dbae707
Copter: remove setting of heli_servo_rsc pwm range
...
This object is not used
9 years ago
Randy Mackay
d2a42a7a0e
Copter: remove heli_radio_passthrough
...
Replaced with set_radio_passthrough which can be used for all frames
9 years ago
Randy Mackay
8180fad4b4
Copter: tradheli sends radio passthrough in 0 to 1 range
9 years ago
Randy Mackay
3eaf7a4582
Copter: set tradheli rotor speed using 0 to 1 range
9 years ago
Leonard Hall
a0409e4f9e
TradHeli: dynamic flight check uses throttle in 0 to 1 range
9 years ago
Randy Mackay
1b29a1af46
Copter: consolidate setting of using-iterlock state
9 years ago
Robert Lefebvre
02b8dd5ffd
Copter: Heli to set hover roll trim scalar
9 years ago
Robert Lefebvre
5cc4f41d85
Copter: Helicopter: to use new Stab_Col and Acro_Col functions.
9 years ago
Jonathan Challinger
5486be34b1
Copter: use configured function to determine if heli_servo_rsc has been configured
9 years ago
Andrew Tridgell
94eb23ef56
Copter: consider flight to be dynamic at greater than 2m above ground
...
use rangefinder to switch to dynamic flight if possible
10 years ago
Andrew Tridgell
64a8e66dd7
Copter: automatically set H_RSC_MIN/MAX from RC8_MIN/MAX on upgrade
...
this prevents a problem where the disarm throttle will change after
upgrading to 3.4
10 years ago
Randy Mackay
e92296a0b7
TradHeli: integrate RotorControlMode enum
10 years ago
Randy Mackay
d99bb66f8a
TradHeli: remove duplicate code in update_rotor_speed_target
10 years ago
Robert Lefebvre
c51b57e71c
Copter: Remove Armed check from heli RSC controls
10 years ago
Robert Lefebvre
b331799dac
Copter: Add handle to control Throttle Curve RSC.
10 years ago
Robert Lefebvre
c968ec3a63
Copter: Helicopters to use motor interlock logic.
...
Also, remove motor interlock pre-arm check to streamline logic.
10 years ago
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