Commit Graph

4917 Commits

Author SHA1 Message Date
Andrew Tridgell c80a88766f APM: added credit for FBW altitude limit code
thanks Yuri!
2012-07-10 08:36:50 +10:00
Craig Elder 6d3fdfc03a DataFlash: The current method for checking if chip erase worked is producing false positives. We are forcing the block erase until we have a deterministic test method. 2012-07-09 15:23:35 -07:00
Jason Short f019d41729 arducopter.pde
Timer was set =0 at initialization.
2012-07-09 13:13:32 -07:00
Jason Short 226bba48a6 Toy Mode Yaw Rate fix 2012-07-09 13:13:32 -07:00
Jason Short cf6d73ec88 commands.pde RTL Alt
fix to maintain current altitude of we are above our RTL alt for safety.
2012-07-09 13:13:32 -07:00
Jason Short 038116f521 Airspeed patch:
pre-calculated airspeed resistance pitches copter automatically to gain a certain speed allowing the speed controller to work off of a better set point - similar to Alt hold.
added param tilt_comp with a default of 54 which equals 19.5° of pitch to go 6m/s
upped Z and Y target speeds to int32_t for speed squared calculation
2012-07-09 13:13:32 -07:00
Andreas M. Antonopoulos de64c05f8e param_parser: cosmetic
Arduplane: doc fixes
2012-07-08 21:45:26 -07:00
Amilcar Lucas af338939be RC_Channel: Improve documentation 2012-07-07 21:57:30 +02:00
Amilcar Lucas 46552b4222 AP_Mount: Fix radians/degrees scaling regressions
Rename calculate() into stabilize()
Implement MAV_MOUNT_MODE_RC_TARGETING initialization
Document to make sure this radians/degrees mess up does not happen again
2012-07-07 21:56:56 +02:00
Andrew Tridgell 78c51b945f APM: fixed DisplayName/Description mixups in parameter docs 2012-07-07 17:40:43 +10:00
Andrew Tridgell b1fb2eb71c Rover: changed to auto deltat in Rover code as well 2012-07-06 19:59:18 +10:00
Andrew Tridgell d755fedc26 AnalogSource: prevent a division by zero on zero ADC data 2012-07-06 19:59:18 +10:00
Andrew Tridgell f6d7d1bc59 APM: changed PID library to do automatic deltat calculation
this fixes a problem with the HDNG2RLL PID, which was using the wrong
time base and prevents similar bugs from happening in the future
2012-07-06 19:59:18 +10:00
Andrew Tridgell 58fd91165f APM: fixed some build warnings and type errors 2012-07-06 19:59:18 +10:00
Andreas M. Antonopoulos 29338fbf7b auto est: modular tests and unit testing with Junit.xml output for jenkins
autotest: unit testing for jenkins
- parameterized unit testing
- modular python test modules
- test groups by directory
- select tests individual or by group
- skip tests individually or by group

arducopter.py: parameterized several functions to allow throttle settings and timeouts

test modules: extracted and copied 8 tests from Tridge's autotest into modules

junit.xml: xml template for unit test reporting to jenkins
2012-07-05 23:48:50 -07:00
Andrew Tridgell f501503eb0 AP_Baro: improved barometer averaging
this changes the barometer calculations to floating point. On a MS5611
this is actually about twice as fast as the previous 64 bit
calculations, but gains us more accuracy as we are able to take
advantage of sub-bit precision when we average over 8 samples.
2012-07-06 15:11:30 +10:00
Andrew Tridgell 520d762382 Filter: split the DerivativeFilter steps into update() and slope()
this allows us to apply new data at a different rate than we calculate
the slope.
2012-07-06 15:11:30 +10:00
Andrew Tridgell 3c7e521f70 AP_Baro: update MS5611 test to use baro library altitude 2012-07-06 15:11:30 +10:00
Andrew Tridgell 302696951a AHRS: make the yaw independent drift correction optional and disable
the new correction algorithm copes poorly with gyro drift, leading to
signification attitude errors in the face of drift
2012-07-06 15:11:30 +10:00
Michael Oborne c4433b6944 APM Planner 1.1.96
Fix camera stab reverse boxs
add better param data duplicate handling
add rfd900a
tweak terminal settings
2012-07-06 07:27:42 +08:00
Andrew Tridgell 75772b83cf autotest: don't set a negative max pitch limit!
this didn't do well in the simulator :-)
2012-07-05 17:59:37 +10:00
Andrew Tridgell 3a792abb4d autotest: tweak the Rascal tuning 2012-07-05 17:59:37 +10:00
Andreas M. Antonopoulos 384365832a ArduCopter: Copied parameter documentation from ArduPlane, where appropriate 2012-07-04 23:33:55 -07:00
Andrew Tridgell 8c5ef3e60f AHRS: only enable barometer for AHRS if it is smooth enough
if we used less than 5 samples to compute the pressure then don't use
it for climb rate
2012-07-05 16:29:21 +10:00
Andrew Tridgell ec0995eea1 SITL: lower baro noise a bit 2012-07-05 16:29:21 +10:00
Andrew Tridgell 6534dab719 Filter: fixed DerivativeFilter example build 2012-07-05 16:29:21 +10:00
Andrew Tridgell d29b6ce0a8 SITL: run the HIL barometer at 80Hz to match APM2 2012-07-05 16:29:21 +10:00
Andrew Tridgell 209136386b AP_Baro: added get_pressure_samples() interface
this returns how many samples were used to calculate the last pressure
2012-07-05 16:29:21 +10:00
Andrew Tridgell 1a42b10255 Filter: fixed typo in 9 point DerivativeFilter 2012-07-05 16:29:20 +10:00
Andreas M. Antonopoulos 186a3e4f6a param_parser - better tolerance for missing parameters 2012-07-04 23:01:52 -07:00
Andrew Tridgell 5abd26a142 APM: more parameter documentation 2012-07-05 15:06:45 +10:00
Andrew Tridgell 21f06f8a39 GeoFence: fixed default return altitude units
off by 100x!
2012-07-05 15:06:44 +10:00
Andreas M. Antonopoulos 2010d3aaa3 parameter metadata parser: better values formatting 2012-07-04 21:27:58 -07:00
Andreas M. Antonopoulos 425ef33b59 parameter metadata parser: escape wiki characters 2012-07-04 20:55:55 -07:00
Andrew Tridgell 8220ae8096 MAVLink: climb_rate is in m/s 2012-07-05 13:20:26 +10:00
Andreas M. Antonopoulos fdbb1ebd42 parameter documentation to test auto build 2012-07-04 20:06:12 -07:00
Andrew Tridgell 185c6e5b32 AP_Baro: change to a 7 point DerivativeFilter for climb rate 2012-07-05 13:00:47 +10:00
Andrew Tridgell 75470dc912 Filter: cope with non-uniform time steps in the DerivativeFilter
this helps with the barometer a lot, as the timing is quite variable
2012-07-05 13:00:47 +10:00
Andrew Tridgell 0385932afb MAVLink: added climb rate reporting 2012-07-05 13:00:46 +10:00
Andrew Tridgell f03ba86d9d SITL: add some minimal noise when motors are off
this actually improves the gyro calibration
2012-07-05 13:00:46 +10:00
Andrew Tridgell 95d9569b35 Docs: fixed some units in APM parameter docs 2012-07-05 13:00:46 +10:00
Andrew Tridgell 60caaa4b04 MAVLink: remove MAVLink 0.9 protocol support
this simplifies the code a lot. We're not going back to 1.0
2012-07-05 13:00:46 +10:00
Andrew Tridgell adf6030cfa CPUInfo: added acos(), asin() and atan2() 2012-07-05 13:00:46 +10:00
Andrew Tridgell 2cd6da2539 AHRS: only use GPS for yaw when compass is not being used
this avoids having two competing controllers
2012-07-05 13:00:46 +10:00
Andrew Tridgell adfa97b6f8 AHRS: enable barometer for vertical velocity
this re-enables the barometer for vertical velocity information
for drift correction, now that we have a better filter
on the climb rate
2012-07-05 13:00:46 +10:00
Andrew Tridgell f9fc7aafe7 AP_Baro: use DerivativeFilter in barometer climb rate 2012-07-05 13:00:46 +10:00
Andrew Tridgell f19e5a6273 Filter: added DerivativeFilter implementation
this adds a DerivativeFilter implementation of up to 10 points
2012-07-05 13:00:46 +10:00
Andrew Tridgell 9f8703274c AP_Baro: show climb rate in baro test sketch 2012-07-05 13:00:45 +10:00
Adam M Rivera 857ad6c706 Camera.pde: Implemented gyro based camera stabilization to support continuous servo gimbals. 2012-07-04 21:08:03 -05:00
Adam M Rivera 6e93ab6af6 Parameters: Added flag for camera pitch/roll servos (continuous or regular) 2012-07-04 21:06:21 -05:00