Commit Graph

3404 Commits

Author SHA1 Message Date
Jason Short
c4ad864ed0 Set Define for Max throttle 2011-12-29 23:02:02 -08:00
Jason Short
737feabc6c Fixed a 1280 only test 2011-12-29 23:02:02 -08:00
Jason Short
005ff8d47e Fixed Loiter Timeout bug, added more wind by default. 2011-12-29 23:02:02 -08:00
Jason Short
f0d3cdf4ed Turn off Super Simple by default 2011-12-29 23:02:02 -08:00
Jason Short
f94727ed02 added define for Max throttle 2011-12-29 23:02:02 -08:00
Jason Short
200f7da103 Added Dampening term for tuning 2011-12-29 23:02:02 -08:00
Jason Short
80e1715b12 updated Loiter PIDs 2011-12-29 23:02:02 -08:00
Jason Short
22172820a8 Made wind not reverse itself to be more natural 2011-12-29 23:02:02 -08:00
Jason Short
db0a7be233 Enable Magnetometer by default 2011-12-29 23:02:02 -08:00
Jason Short
bc7f0a567c Small issue with newline formatting 2011-12-29 23:02:02 -08:00
Jason Short
3202f1cf64 Missing ; 2011-12-29 23:02:01 -08:00
Jason Short
9832d8eccb removed takeoff complete flag from missions, not used and would be useful elsewhere. 2011-12-29 23:02:01 -08:00
Jason Short
3878ac01ef removed newlines to clean up code 2011-12-29 23:02:01 -08:00
Jason Short
9f7aae5945 removed unused function
Simplified the baro init filter
2011-12-29 23:02:01 -08:00
Randy Mackay
ff66a3417c OptFlow - initial support for APM2 (there are still problems) including adding ability to set Chip Select pin.
Other unrelated changes are:
a) fixed typo in 'esitmate_velocity' to 'estimate_velocity'.
b) moved init_compass from system.pde to sensors.pde which seemed consistent with other sensors.
2011-12-30 12:06:31 +09:00
Michael Oborne
b5b223c6f5 APM Planner 1.1.16
change reset order
add french lang
2011-12-30 07:34:17 +08:00
Michael Oborne
2a75ffdd4c APM Planner 1.1.15
fix reset issue
add Circle AP Mode
change time to wait to 17 secs
2011-12-29 18:31:42 +08:00
Michael Oborne
0c75c863de add circle to output modes 2011-12-29 18:21:32 +08:00
Andrew Tridgell
352b0ac5af autotest: update copies of pymavlink in autotest 2011-12-29 08:30:08 +11:00
Andrew Tridgell
671d0b82ad Baro: fixed MS5611 example sketch 2011-12-28 21:49:29 +11:00
Andrew Tridgell
5f0e070f4e compass: show timing in compass test 2011-12-28 21:44:18 +11:00
Andrew Tridgell
c448e85ed1 Baro: show timing in baro test 2011-12-28 21:43:52 +11:00
Andrew Tridgell
669a129175 DCM: don't use compass unless its healthy 2011-12-28 20:41:54 +11:00
Andrew Tridgell
603b605eb1 I2C: fixed some warnings 2011-12-28 20:41:53 +11:00
Andrew Tridgell
f4e1f3d54d desktop: exclude I2C library 2011-12-28 20:41:53 +11:00
Andrew Tridgell
9ef1c421bd MPU6k: don't init the Wire library
we don't use Wire any more
2011-12-28 20:41:53 +11:00
Andrew Tridgell
1cc38b0701 ACM: check compass health before using it 2011-12-28 20:41:53 +11:00
Andrew Tridgell
c27277c7f1 ACM: use new I2C library 2011-12-28 20:41:53 +11:00
Andrew Tridgell
5aca951438 APM: added error checking on barometer read
if the barometer is dead and the GPS has a fix, use the GPS for
altitude
2011-12-28 20:41:53 +11:00
Andrew Tridgell
2c41264a9b APM: added error checking on compass read 2011-12-28 20:41:53 +11:00
Andrew Tridgell
c6b8a08918 APM: convert to new I2C library 2011-12-28 20:41:53 +11:00
Andrew Tridgell
2960abf41f I2C: convert barometer library to new I2C library
this also adds a healthy attribute and error checking
2011-12-28 20:41:53 +11:00
Andrew Tridgell
f93c716126 I2C: convert compass code to new I2C library
this also adds a healthy attribute, and error checking on all I2C
calls
2011-12-28 20:41:53 +11:00
Andrew Tridgell
8df91ea885 ACM: enable compass by default on APM2 2011-12-28 20:30:35 +11:00
Andrew Tridgell
632e74b76d I2C: imported the I2C library from Wayne Truchsess
this gives us a more robust interface, including timeouts
2011-12-28 20:28:31 +11:00
Andrew Tridgell
c91827ee09 geofence: re-breach if user changes mode outside the fence
if the user changes mode while outside the fence, and fencing is still
enabled, then declare a new breach
2011-12-28 17:28:35 +11:00
Andrew Tridgell
f8e1d88815 TimerProcess: prevent a race in setting up the timer callbacks 2011-12-28 16:00:49 +11:00
Andrew Tridgell
b108b907e0 APM: Update for DataFlash changes 2011-12-28 16:00:49 +11:00
Andrew Tridgell
ef1d8eaeac ACM: update for DataFlash changes 2011-12-28 16:00:49 +11:00
Andrew Tridgell
089470a671 DataFlash: moved high level logging logic to library
this moves out all the high level logic from ArduPlane/ArduCopter to
the library. It also adds a "config page", as the last page in the
flash. This is used to check if the flash needs erasing. We only erase
now if the DF_LOGGING_FORMAT has changed.

This patch also adds a public CardInserted() method, which is used to
disable logging on APM2 if a dataflash card is not inserted
2011-12-28 16:00:48 +11:00
Andrew Tridgell
42eb62cc46 DataFlash: fixed sense of card detect 2011-12-28 16:00:48 +11:00
Andrew Tridgell
1cb8728a6b MPU6000: protect the driver from double initialisation
initialising twice can lockup the driver
2011-12-28 16:00:48 +11:00
Andrew Tridgell
f2bbfb1296 MPU6000: minor fixes
the hardware functions should be private, and cs_pin should be uint8_t
2011-12-28 16:00:48 +11:00
Andrew Tridgell
d35113f8a6 TimerProcess: check for duplicate registrations
if a driver gets initialised twice, make sure it doesn't get called
twice in the timer loop
2011-12-28 16:00:48 +11:00
Andrew Tridgell
0a08a0b515 TimerProcess: make some variables uint8_t
save a couple of bytes
2011-12-28 16:00:48 +11:00
Michael Oborne
590d812bc3 firmware build 2011-12-28 07:20:05 +08:00
Michael Oborne
1527234c81 APM Planner 1.1.14
remove bad params from loading from file
add message on firmware screen.
fix moving geofence
fix terminal crash bug
modify udp param list
2011-12-28 07:05:12 +08:00
Mike Smith
ac3f7512cc Fix issue #423 - FastSerial flush bug. 2011-12-26 15:52:21 -08:00
Jason Short
a8070d86df Fix for 11 channels of motors. 2011-12-26 14:39:01 -08:00
analoguedevices
fefda548d2 Added contributor names, removed "alpha" from firmware name 2011-12-26 17:13:37 +00:00