Commit Graph

3305 Commits

Author SHA1 Message Date
Jason Short
ba8fc57bd8 Stability patch2 - Jose style. 2011-12-12 17:47:45 -08:00
Jason Short
c9b317fc27 Gain updates 2011-12-12 17:47:45 -08:00
Jason Short
f3e408e7e0 Added a simplified Log that is just GPS for my 1280 board 2011-12-12 17:47:45 -08:00
Jason Short
e4559bbf5c Added param option for Simple mode reset 2011-12-12 17:47:45 -08:00
Andrew Tridgell
2c0e4c1c02 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
da43b85422 autotest: added a test script for wind generation
this makes it easier to experiment
2011-12-13 10:36:52 +11:00
Andrew Tridgell
37641d2576 autotest: added a 2m/s wind from east to quadcopter test 2011-12-13 10:36:52 +11:00
Andrew Tridgell
228d1620d2 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
a58e81469f autotest: added a wind generation class 2011-12-13 10:36:52 +11:00
Jason Short
d83ad1acd4 Upped the max pitch to deal with wind - based on T3 testing 2011-12-12 10:10:33 -08:00
Jason Short
6bc90d6289 Just upped the nav_imax value 2011-12-12 10:10:33 -08:00
Andrew Tridgell
a22893124d fixed LOGGING_ENABLED default on ArduCopter 2011-12-12 23:40:43 +11:00
Michael Oborne
8afe383737 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-12-12 20:22:58 +08:00
Michael Oborne
e8782f72c0 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
bb6e582ce7 autotest: fixed motor order display 2011-12-12 23:14:29 +11:00
Andrew Tridgell
a3403aeb6c autotest: added logging of what failed 2011-12-12 23:08:20 +11:00
Andrew Tridgell
de1a5ab9ce 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
90c6bad814 autotest: make magnetic field point down 2011-12-12 22:14:01 +11:00
Andrew Tridgell
7301a8bddd pysim: added rotational resistance 2011-12-12 22:08:10 +11:00
Andrew Tridgell
ef8ed6aab2 autotest: calibrate accelerometers at startup 2011-12-12 22:07:53 +11:00
Andrew Tridgell
420bb9cc75 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
5760239670 quad: fixed the comments on the + motors 2011-12-12 21:01:58 +11:00
Andrew Tridgell
12a271d4b2 autotest: nicer display in FG quadcopter view 2011-12-12 21:01:32 +11:00
Andrew Tridgell
d076fb54b5 fixed barometer detection on APM2 2011-12-12 15:45:36 +11:00
Andrew Tridgell
f5e439554d fixed == that should be = 2011-12-12 15:19:50 +11:00
Andrew Tridgell
176c12657d added more build types to build_all.sh 2011-12-12 15:14:55 +11:00
Andrew Tridgell
358dc91d41 fixed hil ArduCopter build 2011-12-12 15:14:55 +11:00
Andrew Tridgell
07dba4eff7 desktop: fixed Wire.begin() build problem 2011-12-12 15:14:55 +11:00
Andrew Tridgell
081f35f51c desktop: fixed build with new AP_Baro code 2011-12-12 15:14:55 +11:00
Andrew Tridgell
78e8fbff9c fixed hardware config check for barometer 2011-12-12 15:14:55 +11:00
Andrew Tridgell
8d882c3640 desktop: fixed desktop barometer code 2011-12-12 15:14:55 +11:00
Andrew Tridgell
3648c81dd9 barometer: fixed HIL barometer build 2011-12-12 15:14:55 +11:00
Andrew Tridgell
1b1c629167 added sitl build target 2011-12-12 15:14:55 +11:00
Andrew Tridgell
2bd18e937c 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
0a7332b6e3 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
011110e1dd 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
5d503fd65e 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
14866927e1 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
d5c23c83cf apm2: fixed for new barometer code 2011-12-11 15:21:10 -08:00
Pat Hickey
a99a1dbc9a ArduPlane: update AP_Baro construtors and initializers 2011-12-11 15:21:10 -08:00
Pat Hickey
a48c65b5b5 ArduCopter: update AP_Baro constructors & initializers 2011-12-11 15:21:10 -08:00
Pat Hickey
f4aaa56b16 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
d026e48032 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
a626e21e98 AP_Baro_BMP085: move apm2_hardware flag from init to constructor. 2011-12-11 15:21:10 -08:00
Pat Hickey
f3ad7f3af8 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
49ca774734 AP_PeriodicProcess: AP_TimerProcess can register multiple callbacks. 2011-12-11 15:21:10 -08:00
Pat Hickey
6dbd6b4181 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
39fe9075d9 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
b055aa6f81 ArduCopter: instantiate correct AP_Baro object based on CONFIG_BARO 2011-12-11 15:21:09 -08:00
Pat Hickey
1bfab64543 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