Commit Graph

779 Commits

Author SHA1 Message Date
Randy Mackay
a744658b47 Copter: combine nav_roll and control_roll
Control_roll, control_pitch now always hold the desired lean angle
whether it be from the pilot or autopilot.
2013-11-27 23:11:30 +09:00
Randy Mackay
f08cc010ea Copter: firmware to ArduCopter V3.2-dev 2013-11-27 22:50:12 +09:00
Randy Mackay
7ef04bb73b Copter: rename nav_yaw to control_yaw 2013-11-27 22:48:20 +09:00
Randy Mackay
10d6a9a34e Copter: replace Log_Write_Motors with Log_Write_RCOU 2013-11-27 20:18:18 +09:00
Randy Mackay
af657d58b9 Copter: RCIN dataflash logging 2013-11-27 16:46:25 +09:00
Andrew Tridgell
a49710f20e Copter: added uartD support
this also brings GCS_Mavlink.pde closer to the plane implementation
2013-11-26 13:05:32 +11:00
Randy Mackay
b8bfe008e1 Copter: run GPS glitch detection even when not armed 2013-11-22 21:46:32 +09:00
Randy Mackay
4e6d41bc8e Copter: remove unused gps_fix_count 2013-11-22 11:53:50 +09:00
Randy Mackay
fe6ad3579c Copter: log GPS messages even when no fix 2013-11-22 11:51:48 +09:00
Randy Mackay
1a0f80ee64 Copter: AC3.1-rc7 version and release notes 2013-11-21 17:30:08 +09:00
Randy Mackay
24dc4391bb Copter: display pre-arm check failure reason every 30sec 2013-11-18 17:20:39 +09:00
Randy Mackay
321036b72e Copter: update contributors list 2013-11-16 12:10:38 +09:00
Randy Mackay
50f583f116 Copter: AC3.1-rc6 version and release notes 2013-11-16 11:35:01 +09:00
Randy Mackay
81fc24586e TradHeli: remove calls to get_manual_collective in auto throttle
set_collective_for_landing method makes this unnecessary
2013-11-15 22:58:36 +09:00
Randy Mackay
c9c803ffd4 TradHeli: move STAB_COL_MIN to main parameter list 2013-11-15 22:58:32 +09:00
Randy Mackay
197fc67897 TradHeli: move pilot desired rotor speed to heli.pde 2013-11-15 22:58:24 +09:00
Randy Mackay
19ddb8e5f3 TradHeli: integrate constructor changes to main code 2013-11-15 22:58:15 +09:00
Robert Lefebvre
bba7fdc7c3 TradHeli: ch6 tuning of ext gyro to use control_in
This could also be used to control the other Heli Ch7 functions (direct drive tail rotor control).  This should be tidied up.

Credit: Jolyon Saunders
2013-11-15 22:58:08 +09:00
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
2013-11-15 22:58:04 +09:00
Randy Mackay
3ce16113b5 TradHeli: use landing collective when landed or landing 2013-11-15 22:58:00 +09:00
Randy Mackay
633e91b7d4 Copter: initialise roll, pitch, yaw modes to stabilize
This fixes a bug in which the stabilize throttle controller would be
non-tilt compensated until the user switched to another flight mode and
back again
2013-11-15 22:57:56 +09:00
Randy Mackay
ae87759e6d TradHeli: add THROTTLE_MANUAL_HELI
Move check_dynamic_flight to run as scheduled task
2013-11-15 22:57:53 +09:00
Randy Mackay
46118b59d7 TradHeli: integrate motor lib changes 2013-11-15 22:57:43 +09:00
Robert Lefebvre
f67d95ac75 TradHeli: Modify Throttle_Auto to prevent helis from pushing hard downward while running up the motor. We will set the collective pitch to stab_col_min which should result in a mild downward pressure if the user has set their parameters correctly. 2013-11-15 22:57:28 +09:00
Randy Mackay
8f2c9591ff TradHeli: dynamic_flight flag based on inertial nav speed
Created new heli.pde for heli_integrated_swash and check_dynamic_flight
2013-11-15 22:57:20 +09:00
Robert Lefebvre
e23e4bc7d8 TradHeli: Bug Fix on Dynamic Flight / TakeOff Detector 2013-11-15 22:57:18 +09:00
Robert Lefebvre
324c866ae1 TradHeli: Move Take-off Complete flag from the throttle controller, and into the Dynamic Flight check. This is to prevent false positive where the collective is pushed up before the motor is started. 2013-11-15 22:57:16 +09:00
Robert Lefebvre
f7c63be357 TradHeli: leaky-I-term based on dynamic_flight_detector 2013-11-15 22:57:14 +09:00
Jason Short
371dc8c616 Copter: Drift Mode
Changes Toy mode declarations to Drift mode.
Requires GPS, Mode 2 transmitter
Drift mode mixes Roll, Pitch and Yaw into a single stick on mode two transmitters.
2013-11-14 14:43:15 +09:00
ssq870424
07d3f2a3c5 Copter: add support for singlecopter airframe
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
2013-11-12 23:40:27 +09:00
Andrew Tridgell
2f6cfd1ff8 Copter: update for AHRS API changes 2013-11-04 21:21:42 +11:00
Jason Short
520a535c21 Copter: TOY mode updates 2013-11-02 21:34:48 +09:00
Randy Mackay
aaf642c223 Copter: disable autotune if pilot moves yaw stick 2013-11-02 12:12:46 +09:00
Randy Mackay
de08116320 Copter: disable some aux channels on hexa and octas
Resolves issue #324
2013-10-31 15:22:34 +09:00
Randy Mackay
2326b2e5f5 Copter: crash checker
Crash is determined to have happened when the copter is 20deg more than
the ANGLE_MAX parameter continuously for more than 2 seconds
Not activated when in ACRO mode or while flipping
2013-10-29 22:15:12 +09:00
Randy Mackay
36832aaa61 Copter: remove ins from InertialNav object instantiation 2013-10-27 13:41:52 +09:00
Tobias
4d4b419d25 Copter: add comment (unit of G_Dt) 2013-10-27 13:39:17 +09:00
Randy Mackay
d86ac9041e Copter: report RC receiver health to GCS 2013-10-24 16:32:55 +09:00
Andrew Tridgell
6138dca2b2 Copter: set system time on GPS lock 2013-10-24 14:22:48 +11:00
Andrew Tridgell
92bf4b9c89 Copter: added MAVLink SYSTEM_TIME message 2013-10-24 14:22:47 +11:00
Randy Mackay
030f479ac1 Copter: firmware update to AC3.1-rc5 2013-10-22 16:04:13 +09:00
Randy Mackay
bbc4cb263f Copter: only allow autotuning when flying 2013-10-21 17:58:10 +09:00
Randy Mackay
5499c6ea6d Copter: autotune bug fix for starting autotune
log completion to dataflash
2013-10-20 13:54:36 +09:00
Michael Oborne
78c4e03fd5 sensor hil fix 2013-10-19 23:04:22 +09:00
Randy Mackay
6c0cb5f84d AutoTune: bug fix and GCS messages 2013-10-19 21:54:18 +09:00
Randy Mackay
c59dee045c Copter: autotune restore orig pids if user changes flight mode 2013-10-17 10:56:53 +09:00
Randy Mackay
deb171a869 Copter: correct UserHooks typos 2013-10-15 11:18:00 +09:00
Randy Mackay
aa7a1a5af3 Copter: correct GCS send times task estimates 2013-10-13 20:53:51 +09:00
Randy Mackay
959f59f623 Copter: correct mount tasks scheduler time
Having the estimate too high would mean it would likely never run
2013-10-13 14:13:59 +09:00
Randy Mackay
f344c77cca Copter: AC3.1-rc4 version and release notes 2013-10-13 14:12:18 +09:00