Andrew Tridgell
9bb0bd0341
desktop: added attachInterrupt() support
2011-12-26 19:17:11 +11:00
Andrew Tridgell
a39a470d75
desktop: fixed for new DataFlash inheritance
2011-12-26 19:17:11 +11:00
Andrew Tridgell
977326e991
dataflash: reworked classes to move most code to parent class
...
this moves all the non-hardware specific code to the parent
DataFlash_Class class, keeping the hw specific code much smaller and
simpler.
This should prevent discrepancies creeping in between APM1 and APM2
support again
2011-12-26 19:17:11 +11:00
Andrew Tridgell
d81dc21dfe
APM-log: fixed reading of GPS logs
2011-12-26 19:17:11 +11:00
Andrew Tridgell
ab64a689c8
ACM-log: use DataFlash.df_NumLogs
...
this fixes the flash size on APM2
2011-12-26 19:17:11 +11:00
Andrew Tridgell
3f9f3f3416
APM-log: changed to use df_NumPages
...
this copes with different data flash sizes on APM1 and APM2
2011-12-26 19:17:11 +11:00
Andrew Tridgell
13b2ddcbe1
dataflash: fixed APM2 flash logging
...
we had log wrap disabled on APM2, and also had the wrong log size. The
mainline code assumed 4096, but it is 8192 pages long.
2011-12-26 19:17:11 +11:00
Andrew Tridgell
04daeab7c0
MPU6000: change to 98Hz low pass filter
...
based on recommendation from Pat
2011-12-26 19:17:11 +11:00
Andrew Tridgell
10ca54ef8f
MPU6000: use data ready interrupt to prevent stale data
...
We listen for a data ready interrupt and only read new data in read()
if there is new data
2011-12-26 19:17:11 +11:00
Andrew Tridgell
760aa62c75
fixed the MPU6000 test sketch
2011-12-26 19:17:11 +11:00
Randy Mackay
07041c2149
TradHeli - modified the default collective min/max values to restrict movement to about half the full range.
2011-12-26 16:59:01 +09:00
Jason Short
1afa25d9ef
Tweaks to fix Loiter
...
Changed save location to int32
added some filtering and smoothing
2011-12-25 15:44:49 -08:00
Randy Mackay
4620186328
Merge remote-tracking branch 'origin/master'
2011-12-25 12:34:16 +09:00
Randy Mackay
c24b5229e1
AP_GPS - updated MTK rate to 10Hz and fixed lat/lon printing inaccuracy in Arducopter logs and AP_TEST example sketch
2011-12-25 12:33:06 +09:00
Andrew Tridgell
b72f9c2e9f
added MPU6000 test sketch
...
this doesn't work yet - Pat, any idea why?
2011-12-25 12:03:39 +11:00
Doug Weibel
8e17b8d6d4
Correct a bug in throttle failsafe feature
2011-12-24 15:34:31 -07:00
Doug Weibel
a5df59eba3
Remove old debug print
2011-12-24 14:26:35 -07:00
Doug Weibel
7879efb8ae
Fix scaling on "turn coordination" yaw PID so that P gain values fall in "usual" range 0.1 to 10.
2011-12-24 14:26:35 -07:00
Michael Oborne
3ac67284f7
firmware build
2011-12-24 16:06:00 +08:00
Andrew Tridgell
0dadbf932a
removed "Please run setup" loop from ArduCopter
...
Chris asked for this to be removed as it was really mucking up the
initial experience setting up ArduCopter via the planner
2011-12-24 18:12:51 +11:00
Andrew Tridgell
f11a5edbc7
removed dead test program
...
this one doesn't build, and has been replaced by IMU_MPU6000_test
2011-12-24 18:11:04 +11:00
Jason Short
cc4f5e7c74
disabled some tests with warnings
2011-12-23 18:54:38 -08:00
Jason Short
0491d4feca
added define for optflow
2011-12-23 18:45:01 -08:00
Jason Short
d7af42c925
Getting rid of Simple Logging
2011-12-23 18:44:30 -08:00
Jason Short
0f91fbcee5
Made WP radius 1 by default
2011-12-23 15:01:53 -08:00
Jason Short
d9590a44d6
Fixed merge issues
2011-12-23 14:51:40 -08:00
Jason Short
e5a3899b7f
added ability to enter Loiter with only optflow available
2011-12-23 14:46:32 -08:00
Jason Short
73a73fbf35
moved some defines around
2011-12-23 14:46:32 -08:00
Jason Short
5518882c69
Fixed resolution issue with Xtrack
...
Added stub for loiter based on estimation
integrated fix for tracking GPS at slow speeds for loiter
2011-12-23 14:46:32 -08:00
Jason Short
2d46022a2b
This is the test to deal with big props with lots of inertia. We use a low pass filter on positive acceleration.
2011-12-23 14:46:32 -08:00
Jason Short
58ad9faf6d
initing z dampener at arming
2011-12-23 14:46:08 -08:00
Jason Short
5f03c62bd9
Too complicated
2011-12-23 14:46:08 -08:00
Jason Short
be4b031c7d
added back in the Disabled log - gave up on Log Simple idea
2011-12-23 14:45:56 -08:00
Jason Short
ca8f71a705
used for testing
2011-12-23 14:42:50 -08:00
Jason Short
a966a178f8
increased crosstrack thanks to float math fix
...
decreased loiter iterm, decreased throttle iterm based on simulator runs
2011-12-23 14:42:50 -08:00
Jason Short
a284fc222c
No longer blocking before initing home
2011-12-23 14:42:50 -08:00
Jason Short
79fff0f096
the second accel test is just for fun.
...
Filtered output for Nav_throttle
2011-12-23 14:42:50 -08:00
Jason Short
62cb407558
Begin to better integrate OptFlow, added necessary globals for Loiter estimation
2011-12-23 14:42:50 -08:00
Jason Short
85b564c5eb
removed some unneeded HIL #defines
2011-12-23 14:42:49 -08:00
Jason Short
5038fcecd8
Added more detail
2011-12-23 14:42:49 -08:00
Jason Short
c9b2d1c3c2
Added fix for Takeoff Test
2011-12-23 14:42:49 -08:00
Andrew Tridgell
d626fcb52f
added a copy of fdpexpect
2011-12-23 12:20:58 +11:00
Andrew Tridgell
30425063d8
more errno fixes for MacOS
2011-12-23 12:07:32 +11:00
Andrew Tridgell
d007ee996d
fixed errno handling for MacOS
2011-12-23 11:59:25 +11:00
Andrew Tridgell
5e347854c3
setup the main loop failsafe after RC library is setup
2011-12-23 11:13:01 +11:00
Andrew Tridgell
5bda871d60
added comment on using GPS ground course
2011-12-23 11:13:01 +11:00
Pat Hickey
c40fccbc26
Log_simple uses identical implementation of do_erase_logs.
...
* fix build1280.ArduCopter
2011-12-22 13:31:28 -08:00
Pat Hickey
89e484ef9d
APM_radio_test: build fixes
2011-12-22 13:17:04 -08:00
Michael Oborne
629643f31b
APM Planner 1.1.13
...
hazy's capm change - modded
fix wp radius at odd rotations
small geofence map update changes
fix terminal focus
2011-12-22 22:33:05 +08:00
Andrew Tridgell
d0245b206a
APM2: default magnetometer to enabled
...
all APM2s have a MAG at the moment
thanks to Chris for the suggestion
2011-12-22 17:51:14 +11:00