Commit Graph

727 Commits

Author SHA1 Message Date
Andrew Tridgell 09a1d35e62 Copter: fixed build for no COPTER_LEDS 2013-10-13 11:03:33 +09:00
Andrew Tridgell d38d9ea88f Copter: changes for AP_Mount API 2013-10-13 11:03:26 +09:00
Randy Mackay 8706810d55 Copter: scheduler times corrections 2013-10-13 11:03:22 +09:00
Randy Mackay 6be6bd5aed Copter: remove unused battery analog sources 2013-10-13 11:03:20 +09:00
Randy Mackay d2bda8c235 Copter: split up medium loop 2013-10-13 11:03:15 +09:00
Randy Mackay e9cefbafd1 Copter: higher priority for throttle loop, lower telemetry 2013-10-13 11:03:10 +09:00
Randy Mackay fc47e05105 Copter: update firmware version to AC3.1-rc3 2013-10-09 11:13:15 +09:00
Andrew Tridgell 450323f4ae Copter: enable logging on Linux 2013-10-08 19:20:35 +11:00
Andrew Tridgell 4b68dd48f7 Copter: use ins.wait_for_sample() for main loop
this takes advantage of the INS specific method to wait for a sample
2013-10-08 19:20:34 +11:00
Randy Mackay 9435eb4a15 Copter: remove unused flags and consolidate ap and ap_system 2013-10-08 15:25:14 +09:00
Andrew Tridgell 6145924481 Copter: switch Linux to L3G4200D ins driver 2013-10-08 11:50:54 +11:00
Randy Mackay 0c0de7c53e Copter: simple mode speedup
super simple and simple mode headings separated
g.super_simple converted into a bitmap by flight mode switch position
2013-10-05 18:26:56 +09:00
Randy Mackay ba92c4891a Copter: make AutoTune a compile-time option 2013-10-04 15:50:50 +09:00
Randy Mackay 31cea0140d Copter: Leonard's AutoTuning for Roll and Pitch 2013-10-04 15:50:47 +09:00
Randy Mackay dab4f032f9 Copter: integrate BattMonitor 2013-10-03 11:16:28 +09:00
Andrew Tridgell 3665bec26d Copter: fixed build for Linux 2013-09-28 22:04:16 +10:00
Andrew Tridgell 9e42e536a7 Copter: make the scheduling a bit more multi-tasking OS friendly
we can afford to sleep a bit in the main loop
2013-09-28 22:04:16 +10:00
Andrew Tridgell 234eaceb14 Copter: update for Stub -> HIL 2013-09-28 22:04:15 +10:00
Randy Mackay c3f7146f03 Copter: improve check of frame type to catch spelling errors 2013-09-27 14:35:16 +09:00
Randy Mackay a53d28e018 Copter: remove support for dmp ahrs 2013-09-27 10:42:49 +09:00
Andrew Tridgell 394645560a Copter: update for new INS API 2013-09-27 10:49:00 +10:00
Andrew Tridgell a0b6481dfd Copter: removed SMACCM support 2013-09-26 22:38:31 +10:00
Randy Mackay fd2e87b710 Copter: disable tuning during radio failsafe 2013-09-26 20:05:25 +09:00
Randy Mackay 7cc8a9038f Copter: move failsafe flags into structure 2013-09-26 19:37:15 +09:00
Randy Mackay 8a886c0e19 Copter: remove err msg for undefined throttle mode
Printing errors like this to the console are unlikely to ever be seen
2013-09-24 21:45:51 +09:00
Randy Mackay e5535e35b3 Copter: remove unused reset_stability_I 2013-09-24 21:42:05 +09:00
Randy Mackay c596b27719 Copter: add dataflash error for GPS glitch 2013-09-24 21:41:48 +09:00
Randy Mackay 4c8227c050 Copter: update AP_Notify for gps failsafe and glitching 2013-09-24 21:41:28 +09:00
Randy Mackay 2f5b32bada Copter: integrate GPS_Glitch's check_position 2013-09-24 21:41:16 +09:00
Andrew Tridgell 3378c7901a Copter: added support for the flymaple board 2013-09-24 13:51:28 +10:00
Andrew Tridgell 754bdbd25f Copter: use new usb_connected() HAL function 2013-09-19 16:24:23 +10:00
Randy Mackay 79399e4fb4 Copter: AC3.1-rc2 version and release notes 2013-09-18 13:30:26 +09:00
Randy Mackay daa0cb7914 Copter: enable motor slow start in auto mode 2013-09-13 14:32:19 +09:00
Andrew Tridgell 3720efc7c9 Copter: changed to AP_Vehicle.h 2013-09-13 11:47:03 +10:00
Randy Mackay 43c4ba304d Copter: update Release Notes for AC3.1-rc1 2013-09-09 20:04:30 +09:00
Randy Mackay 1abb439051 Copter: move acro's var initialisation to roll-pitch and yaw controller initialisation 2013-09-09 10:54:13 +09:00
Randy Mackay 942ba0476b Copter: remove manual_attitude and throttle flags 2013-09-09 10:44:53 +09:00
Randy Mackay 4842335a24 Copter: add #include for AC_Sprayer 2013-09-09 10:18:06 +09:00
Andrew Tridgell 52f5b1e5a7 Copter: update to GPLv3 license headers 2013-08-30 13:01:39 +10:00
Andrew Tridgell e1e32fcf08 Copter: fixed build with AP_AHRS changes 2013-08-30 13:01:35 +10:00
Andrew Tridgell 25d517f5d6 Copter: updates for new notify API 2013-08-30 13:01:35 +10:00
Randy Mackay 4aef49a006 Copter: re-order #defines of AP_Notify 2013-08-30 13:01:35 +10:00
Randy Mackay 52ef77393c Copter: integrate Toshiba_LED_PX4 2013-08-30 13:01:35 +10:00
Randy Mackay 46c24fdf39 Copter: integrate ToshibaLED 2013-08-30 13:01:35 +10:00
Randy Mackay e985253f1a Copter: integrate notify 2013-08-30 13:01:35 +10:00
Randy Mackay 45aeb1a921 Copter: split up loiter into 4 steps
Reduces disruption to the main loop but also introduces a delay of 30ms
to navigation output
2013-08-28 11:33:10 +09:00
Randy Mackay 2696e160e6 Copter: surface tracking improvement
Separate correction speeds for pilot input vs altitude-above-ground
errors to allow slower correction to sonar signals.
Change SONAR_GAIN parameter to be altitude error -> desired speed.  This
means it should be set 10x larger than before.
Replace hard-coded sonar cut-off percentage of 70% with
SONAR_RELIABLE_DISTANCE_PCT.
Reduce sonar cut-off percentage to 60%.
Add desired sonar altitude to dataflash log's CTUN message.
2013-08-19 09:52:59 +09:00
Randy Mackay 88332b4acb Copter: revert to 3 element sonar's mode filter 2013-08-19 09:47:48 +09:00
Randy Mackay 3a5a15a15f Copter: allow CH6 tuning of sonar gain 2013-08-18 15:44:54 +09:00
Randy Mackay 6a2daf1a33 Copter: reduce sonar sensitivity to spikes 2013-08-15 16:04:17 +09:00