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
Pat Hickey
067724b4f1
ArduCopter: update AP_Baro constructors & initializers
2011-12-11 15:21:10 -08:00
Pat Hickey
5819f99986
AP_Baro_MS5611: Asynchronous operation, plus c++ style changes.
...
Yeah, I know this was a big change to make all at once.
2011-12-11 15:21:10 -08:00
Pat Hickey
3d882c4d49
AP_Baro : Add init( AP_PeriodicProcess * ) method to interface & implementations
...
AP_Baro_MS5611 and AP_Baro_BMP085 implement the interface, with stubs only
2011-12-11 15:21:10 -08:00
Pat Hickey
d5386b8bb8
AP_Baro_BMP085: move apm2_hardware flag from init to constructor.
2011-12-11 15:21:10 -08:00
Pat Hickey
6710cf5c5a
Wire and SPI Init: move to sketch system.pde from libraries
...
* Wire.begin removed from AP_Baro_BMP085::init()
* SPI.begin removed from AP_Baro_MS5611::init()
* SPI.begin removed from AP_InertialSensor_MPU6000::hardware_init()
* Both Wire.begin and SPI.begin added very early in init_ardupilot in
ArduCopter/system.pde and ArduPlane/system.pde
2011-12-11 15:21:10 -08:00
Pat Hickey
a7b9c8b9cd
AP_PeriodicProcess: AP_TimerProcess can register multiple callbacks.
2011-12-11 15:21:10 -08:00
Pat Hickey
67436d7ff2
ArduCopter: Get barometer data in terms of AP_Baro interface
...
* Major change: Log.pde Log_Write_Control_Tuning has changed significantly
* MS5611 has no concept of RawPres and _offset_press
* Log the get_pressure() instead. (If we don't trust the barometer, what's the point?)
2011-12-11 15:21:10 -08:00
Pat Hickey
bd00b629e7
ArduCopter Init: different call to barometer.init based on CONFIG_BARO
...
* BMP085 has two arguments, second varying on apm1/apm2
* ms5611 has no arguments
2011-12-11 15:21:10 -08:00
Pat Hickey
82b8f4d7b7
ArduCopter: instantiate correct AP_Baro object based on CONFIG_BARO
2011-12-11 15:21:09 -08:00
Pat Hickey
12222550cf
AP_Baro_BMP085: Delete commented out code
...
* If its important to get old code back, thats why version control exists
2011-12-11 15:21:09 -08:00
Pat Hickey
9a9b63259a
AP_Baro_BMP085: implement AP_Baro interface
2011-12-11 15:21:09 -08:00
Pat Hickey
45cbb24ba5
AP_Baro_MS5611: init must also perform SPI.begin
2011-12-11 15:21:09 -08:00
Pat Hickey
a75257f102
AP_Baro_MS5611: CS pin is arduino pin 40
2011-12-11 15:21:09 -08:00