Commit Graph

445 Commits

Author SHA1 Message Date
Randy Mackay db000f2287 Copter: remove setting rate and thr D term filters 2014-05-29 17:40:24 +09:00
Robert Lefebvre 5eb206e6bb Copter: Add 'handle' to allow #define updating of AC_PID filter rate for Throttle Accel. 2014-05-29 17:39:16 +09:00
Robert Lefebvre df1de4260d Copter: Set Rate PID D-term filter rates on initialization. 2014-05-29 17:39:12 +09:00
Randy Mackay 20719e23fd Copter: enable PARACHUTE and RALLY for all but APM 2014-05-27 14:43:33 +09:00
Randy Mackay ff1a58e078 Copter: increase LOITER_RATE_IMAX to 1000
This allows us to load up the I term with the vehicle's current
acceleration during mode transitions

pair programmed with Randy
2014-05-08 16:15:34 +09:00
Randy Mackay d857427444 Copter: disable RALLY points by default
This saves 2k of flash which allows the code to fix on the APM1/2
2014-04-30 21:46:21 +09:00
Randy Mackay a4c675c23e Copter: add PILOT_ACCEL_Z parameter
Allows configurable z-axis acceleration when pilot is controlling
altitude
2014-04-30 21:46:13 +09:00
Randy Mackay 19f1e7fec4 Copter: disable Parachute by default
This saves 1k of flash and we are desperately low on the APM1/APM2.
Hopefully we can find savings somewhere and re-enable it by default.
2014-04-24 19:02:32 +09:00
Randy Mackay 287af8f66e Copter: disable optical flow by default
We have run out of flash on the APM2, it was a choice between Hybrid
flight mode and OF_Loiter
2014-04-23 15:27:08 +09:00
Randy Mackay 55e7e1eb3e Copter: allow HYBRID to be disabled to save flash
Hybrid flight mode costs 4.5k of flash which currently puts us over the
limit for APM1 and APM2 unless optical flow or other features are
disabled
2014-04-23 15:27:05 +09:00
Ju1ien f8e8d4024d Copter: Hybrid's max brake angle to 30deg 2014-04-23 14:59:53 +09:00
Randy Mackay f467d7bc20 Copter: add Hybrid parameters 2014-04-23 14:59:25 +09:00
Randy Mackay 5fc071f5f9 Copter: restore SITL to run at 100hz 2014-04-21 21:46:22 +09:00
Randy Mackay 8ac14023b4 Copter: set main loop rate from CPU class
Previously this was determined by the board
2014-04-21 13:32:00 +09:00
Andrew Chapman fa3732ac6d Copter: integrate AP_Rally 2014-04-19 15:00:23 +09:00
Emile Castelnuovo 9e31f032c2 Copter: added VRBRAIN board #includes and #defines 2014-04-08 16:19:20 +10:00
Randy Mackay ff32b27272 Copter: integrate parachute lib 2014-04-07 13:36:44 +09:00
Andrew Tridgell 640b64f5e4 Copter: convert to new GPS API 2014-04-01 06:38:24 +11:00
Jonathan Challinger 2601ac9959 Copter: Remove 80m altitude limit on RTL 2014-03-31 20:34:19 +09:00
Andrew Tridgell 3de574e5dc Copter: disable GPS2 in HIL 2014-02-27 08:16:20 +11:00
Andrew Tridgell 37394b30ee Copter: added support for 2nd GPS 2014-02-26 09:40:29 +11:00
Randy Mackay 00913ffe1b Copter: throttle rate to simple P controller
Saves at least 15bytes of RAM
2014-02-16 13:35:40 +11:00
Randy Mackay aab9b30bf6 Copter: replace APM_PI with AC_P
Saves about 90bytes of RAM
2014-02-15 06:09:08 +11:00
Randy Mackay ea1158a9d5 Copter: remove unused config 2014-02-15 05:27:47 +11:00
Randy Mackay aec67cd3df Copter: integrate control_autotune 2014-02-15 05:27:44 +11:00
Randy Mackay ef666c73ab Copter: remove Position mode 2014-02-15 05:27:42 +11:00
Robert Lefebvre c561d6bb9e Small comment change. 2014-02-15 05:27:42 +11:00
Randy Mackay 2253cf9769 Copter: run main loop at 400hz for pixhawk 2014-02-15 05:27:33 +11:00
Andrew Tridgell 0a3476bbf1 Copter: change to new board_voltage() API 2014-02-14 21:50:59 +11:00
Randy Mackay dee5fb212a Copter: remove dup definition of FRAME_ORIENTATION
Ideally the frame orientation parameter should be moved to the motors
class
2014-01-21 21:44:17 +09:00
Randy Mackay a9f1a2ee5e Copter: disarm on land even if pilot throttle not zero
default behaviour remains as before, this is an compile time option only
2014-01-15 11:31:00 +09:00
Randy Mackay a3527ade61 Copter: move EARTH_FRAME definition to defines.h
defines.h is for defining enumerations and other unchanging values while
config.h is for changeable values like parameter defaults, enabling or
disabling sensors.
2014-01-14 21:53:13 +09:00
Randy Mackay 138c2803be Copter: combine NTUN and INAV dataflash msgs 2014-01-13 22:00:11 +09:00
Randy Mackay 5e0ddd299f Copter: disable OPTFLOW for SITL 2014-01-13 17:11:27 +09:00
Randy Mackay 61f319ce38 Copter: disable OPTFLOW for PX4/Pixhawk 2014-01-13 12:02:03 +09:00
Randy Mackay b3d20bb8aa TradHeli: Drift mode to use heli manual throttle 2014-01-10 11:06:06 +09:00
Robert Lefebvre 531a9f4f25 TradHeli: disable AutoTune for Tradheli compile
We need the flash space, and this probably won't work for tradheli anyway since tradheli needs most of the control from Feedforward rather than P term.  And D-term is very very bad.
2014-01-10 10:50:09 +09:00
Randy Mackay 9f2f44f0f6 Copter: integrate shrunken optflow 2014-01-09 12:31:53 +09:00
ctech4285 2b5d8aa5b7 Copter: integrate EPM library 2013-12-17 15:36:42 +09:00
Randy Mackay c7dc351609 Copter: remove unnecessary MPU6K filter definition
This should also help kick off the AC3.1 rebuild
2013-12-15 11:01:31 +09:00
Randy Mackay 2a61053634 Copter: reduce default logging for SITL 2013-12-12 22:19:12 +09:00
Randy Mackay 58788d2934 Copter: increasd default logging for PX4, Pixhawk 2013-12-05 16:04:52 +09:00
Randy Mackay 2ba233942d Copter: pre arm mag offset limit to 600 for PX4 2013-12-03 23:23:26 +09:00
Randy Mackay 0cda3c9a71 Copter: reduce SONAR_GAIN to 0.8 (was 2.0) 2013-12-01 16:25:47 +09:00
Robert Lefebvre dbbe0f960a Copter: remove LED_ON/OFF defines 2013-11-30 18:20:58 +09:00
Randy Mackay 59cea4b88c Copter: remove CopterLED from main code 2013-11-30 18:20:55 +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 9c812d5028 Copter: added SERIAL2_BAUD and rename SERIAL3_BAUD to SERIAL1_BAUD 2013-11-26 13:05:32 +11:00
Randy Mackay 87127f0ab8 Copter: allow battery failsafe to trigger RTL 2013-11-16 14:46:57 +09:00