Andrew Tridgell
919ae17473
IMU: abstract the setting of the LEDs in IMU initialisation
...
we need this to cope with different LED pin assignments on APM1/APM2
2011-12-13 18:19:12 +11:00
Andrew Tridgell
4e4a4a685c
fixed two more CONFIG_HARDWARE #ifdef bugs
2011-12-13 17:05:48 +11:00
Andrew Tridgell
99395b919c
autotest: added a 5m/s wind blowing south in plane test
2011-12-13 15:29:13 +11:00
Andrew Tridgell
be3b9e3480
autotest: added wind support to ArduPlane simulation
2011-12-13 15:28:03 +11:00
Andrew Tridgell
c518f8c224
autotest: show groundspeed in flightgear display
...
useful with wind
2011-12-13 15:27:32 +11:00
Andrew Tridgell
f96dca3311
autotest: example startup scripts for simulators
2011-12-13 13:50:06 +11:00
Andrew Tridgell
c64ed53e1d
autotest: improved runsim defaults
2011-12-13 13:45:18 +11:00
Andrew Tridgell
5a2827e64b
autotest: changed default sim_quad rate to 400Hz (matches autotest
...
script)
2011-12-13 13:44:53 +11:00
Jason Short
b08e1329d0
more control over loiter time and alt change
2011-12-12 17:47:46 -08:00
Jason Short
29788b98bd
Adjustments for High Wind enviroments
2011-12-12 17:47:45 -08:00
Jason Short
424a11d269
Stability patch2 - Jose style.
2011-12-12 17:47:45 -08:00
Jason Short
6b1bedc381
Gain updates
2011-12-12 17:47:45 -08:00
Jason Short
a386ea5e06
Added a simplified Log that is just GPS for my 1280 board
2011-12-12 17:47:45 -08:00
Jason Short
6bac318def
Added param option for Simple mode reset
2011-12-12 17:47:45 -08:00
Andrew Tridgell
f5a54f3da8
autotest: use 'enter 3 times' method to get into CLI
...
this doesn't depend on build options
2011-12-13 10:36:52 +11:00
Andrew Tridgell
0e75b3b140
autotest: added a test script for wind generation
...
this makes it easier to experiment
2011-12-13 10:36:52 +11:00
Andrew Tridgell
63688826cf
autotest: added a 2m/s wind from east to quadcopter test
2011-12-13 10:36:52 +11:00
Andrew Tridgell
9ef929e88e
autotest: added --wind option to sim_quad
...
this is in the form of speed,direction,turbulance
2011-12-13 10:36:52 +11:00
Andrew Tridgell
5fb01d1cdd
autotest: added a wind generation class
2011-12-13 10:36:52 +11:00
Jason Short
3edd471983
Upped the max pitch to deal with wind - based on T3 testing
2011-12-12 10:10:33 -08:00
Jason Short
e1146b6df6
Just upped the nav_imax value
2011-12-12 10:10:33 -08:00
Andrew Tridgell
6857d9af14
fixed LOGGING_ENABLED default on ArduCopter
2011-12-12 23:40:43 +11:00
Michael Oborne
53a8ad0f29
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-12-12 20:22:58 +08:00
Michael Oborne
83c6e7c421
APM Planner 1.1.3
...
add kml overlay to flight data screen
remember last window location
websockets functioning.
add sonar types/optical flow hardware options
2011-12-12 20:22:13 +08:00
Andrew Tridgell
d92884b5fb
autotest: fixed motor order display
2011-12-12 23:14:29 +11:00
Andrew Tridgell
1426f9dedd
autotest: added logging of what failed
2011-12-12 23:08:20 +11:00
Andrew Tridgell
44ccbd12da
autotest: increase stream rate to 5 for ArduCopter test
...
needed to get accurate heading monitoring
2011-12-12 23:07:46 +11:00
Andrew Tridgell
9548366a91
autotest: make magnetic field point down
2011-12-12 22:14:01 +11:00
Andrew Tridgell
c1a23ef150
pysim: added rotational resistance
2011-12-12 22:08:10 +11:00
Andrew Tridgell
299b19cfe6
autotest: calibrate accelerometers at startup
2011-12-12 22:07:53 +11:00
Andrew Tridgell
6121942d42
pysim: fixed the accelerometer calculation in the quad simulator
...
this was causing severe drift in the attitude calculation
2011-12-12 21:57:09 +11:00
Andrew Tridgell
e184d1dfe4
quad: fixed the comments on the + motors
2011-12-12 21:01:58 +11:00
Andrew Tridgell
9b654cd8fb
autotest: nicer display in FG quadcopter view
2011-12-12 21:01:32 +11:00
Andrew Tridgell
ae1ec05dd4
fixed barometer detection on APM2
2011-12-12 15:45:36 +11:00
Andrew Tridgell
483754cb70
fixed == that should be =
2011-12-12 15:19:50 +11:00
Andrew Tridgell
0f7bd9678f
added more build types to build_all.sh
2011-12-12 15:14:55 +11:00
Andrew Tridgell
cadc5bde1d
fixed hil ArduCopter build
2011-12-12 15:14:55 +11:00
Andrew Tridgell
dd4498d113
desktop: fixed Wire.begin() build problem
2011-12-12 15:14:55 +11:00
Andrew Tridgell
fa83de98c8
desktop: fixed build with new AP_Baro code
2011-12-12 15:14:55 +11:00
Andrew Tridgell
80a0dfe862
fixed hardware config check for barometer
2011-12-12 15:14:55 +11:00
Andrew Tridgell
eaf134e47e
desktop: fixed desktop barometer code
2011-12-12 15:14:55 +11:00
Andrew Tridgell
de5c1c5147
barometer: fixed HIL barometer build
2011-12-12 15:14:55 +11:00
Andrew Tridgell
65ed8cc2c3
added sitl build target
2011-12-12 15:14:55 +11:00
Andrew Tridgell
4319d1ceb0
throttle: only use throttle slew in auto throttle modes
...
we don't want STABILISE and FBWA to have throttle change limits
2011-12-12 15:14:55 +11:00
Andrew Tridgell
fa683c5718
airspeed: smooth the airspeed value a bit more
...
the value is very noisy in my tests. A bit more smoothing may help
2011-12-12 15:14:55 +11:00
Andrew Tridgell
faf58a355b
airspeed: use floating point values and better averaging in zero_airspeed()
...
this makes the calibration of airspeed a bit more accurate, and
prevents truncation of airspeed values
2011-12-12 15:14:55 +11:00
Andrew Tridgell
47da2ec992
ADC: change adc.Ch() to return a float
...
this gives us a bit more precision in airspeed measurement, and costs
us virtually nothing as we are converting to float immediately after
getting the value
2011-12-12 15:14:55 +11:00
Andrew Tridgell
43a53aa303
dcm: fixed an uninitialised variable
...
if no compass and not in motion the DCM we would multiply by an
uninitialised number
2011-12-11 15:21:10 -08:00
Andrew Tridgell
bb861117a3
apm2: fixed for new barometer code
2011-12-11 15:21:10 -08:00
Pat Hickey
85b82e75f6
ArduPlane: update AP_Baro construtors and initializers
2011-12-11 15:21:10 -08:00