Commit Graph

2918 Commits

Author SHA1 Message Date
Andrew Tridgell bb50154f1c autotest: fixed wind specification for arduplane test 2011-12-13 19:04:00 +11:00
Andrew Tridgell dd9f3a3fa6 fixed a hang on 2nd run of IMU test
we should not try to initialise the ISR handlers twice
2011-12-13 18:28:50 +11:00
Andrew Tridgell 483bef35e5 IMU: update ACM and APM for flash_leds change in IMU init 2011-12-13 18:19:41 +11:00
Andrew Tridgell a819c1a3dc 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 888d6226b2 fixed two more CONFIG_HARDWARE #ifdef bugs 2011-12-13 17:05:48 +11:00
Andrew Tridgell 2cc67d0a61 autotest: added a 5m/s wind blowing south in plane test 2011-12-13 15:29:13 +11:00
Andrew Tridgell ad6c90c3b9 autotest: added wind support to ArduPlane simulation 2011-12-13 15:28:03 +11:00
Andrew Tridgell 35e45fefc9 autotest: show groundspeed in flightgear display
useful with wind
2011-12-13 15:27:32 +11:00
Andrew Tridgell 2c7e74b7a1 autotest: example startup scripts for simulators 2011-12-13 13:50:06 +11:00
Andrew Tridgell 77c791fb79 autotest: improved runsim defaults 2011-12-13 13:45:18 +11:00
Andrew Tridgell 6520c7be1b autotest: changed default sim_quad rate to 400Hz (matches autotest
script)
2011-12-13 13:44:53 +11:00
Jason Short c58e9e9135 more control over loiter time and alt change 2011-12-12 17:47:46 -08:00
Jason Short edc3a731d4 Adjustments for High Wind enviroments 2011-12-12 17:47:45 -08:00
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