Commit Graph

4810 Commits

Author SHA1 Message Date
Amilcar Lucas a79f55656a RC_Channel: Improve documentation 2012-07-07 21:57:30 +02:00
Amilcar Lucas 8bd7ef9b9a 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 58fd1d1cf6 APM: fixed DisplayName/Description mixups in parameter docs 2012-07-07 17:40:43 +10:00
Andrew Tridgell f4b71ff8c9 Rover: changed to auto deltat in Rover code as well 2012-07-06 19:59:18 +10:00
Andrew Tridgell ec70e87495 AnalogSource: prevent a division by zero on zero ADC data 2012-07-06 19:59:18 +10:00
Andrew Tridgell 7bc724d118 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 6ced622da4 APM: fixed some build warnings and type errors 2012-07-06 19:59:18 +10:00
Andreas M. Antonopoulos dd038533f1 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 44755bf3ce 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 43d6015811 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 4723698489 AP_Baro: update MS5611 test to use baro library altitude 2012-07-06 15:11:30 +10:00
Andrew Tridgell 9845a55cb1 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 b3fab35b44 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 bc4beb2345 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 11b13001f4 autotest: tweak the Rascal tuning 2012-07-05 17:59:37 +10:00
Andreas M. Antonopoulos ba9b94851f ArduCopter: Copied parameter documentation from ArduPlane, where appropriate 2012-07-04 23:33:55 -07:00
Andrew Tridgell e33554a1f9 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 1ce4a03147 SITL: lower baro noise a bit 2012-07-05 16:29:21 +10:00
Andrew Tridgell 9f3da1bf7f Filter: fixed DerivativeFilter example build 2012-07-05 16:29:21 +10:00
Andrew Tridgell 5f38669666 SITL: run the HIL barometer at 80Hz to match APM2 2012-07-05 16:29:21 +10:00
Andrew Tridgell 735c88e9b3 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 92001e3e7d Filter: fixed typo in 9 point DerivativeFilter 2012-07-05 16:29:20 +10:00
Andreas M. Antonopoulos 4de662e2af param_parser - better tolerance for missing parameters 2012-07-04 23:01:52 -07:00
Andrew Tridgell 855d67c30a APM: more parameter documentation 2012-07-05 15:06:45 +10:00
Andrew Tridgell 85332ff85b GeoFence: fixed default return altitude units
off by 100x!
2012-07-05 15:06:44 +10:00
Andreas M. Antonopoulos 1b98bddaae parameter metadata parser: better values formatting 2012-07-04 21:27:58 -07:00
Andreas M. Antonopoulos 6509ed74cd parameter metadata parser: escape wiki characters 2012-07-04 20:55:55 -07:00
Andrew Tridgell a71f567d28 MAVLink: climb_rate is in m/s 2012-07-05 13:20:26 +10:00
Andreas M. Antonopoulos a2e2bf69c6 parameter documentation to test auto build 2012-07-04 20:06:12 -07:00
Andrew Tridgell 999a1d1d55 AP_Baro: change to a 7 point DerivativeFilter for climb rate 2012-07-05 13:00:47 +10:00
Andrew Tridgell a07e280eda 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 ba39738606 MAVLink: added climb rate reporting 2012-07-05 13:00:46 +10:00
Andrew Tridgell ce3f8be6c7 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 6afbfdafeb Docs: fixed some units in APM parameter docs 2012-07-05 13:00:46 +10:00
Andrew Tridgell fe54329de2 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 2861e235bb CPUInfo: added acos(), asin() and atan2() 2012-07-05 13:00:46 +10:00
Andrew Tridgell 9d7ed30023 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 6653c0b874 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 a5d607d25a AP_Baro: use DerivativeFilter in barometer climb rate 2012-07-05 13:00:46 +10:00
Andrew Tridgell f97289792b Filter: added DerivativeFilter implementation
this adds a DerivativeFilter implementation of up to 10 points
2012-07-05 13:00:46 +10:00
Andrew Tridgell cf2c546051 AP_Baro: show climb rate in baro test sketch 2012-07-05 13:00:45 +10:00
Adam M Rivera ddd069ad83 Camera.pde: Implemented gyro based camera stabilization to support continuous servo gimbals. 2012-07-04 21:08:03 -05:00
Adam M Rivera 278e215a21 Parameters: Added flag for camera pitch/roll servos (continuous or regular) 2012-07-04 21:06:21 -05:00
Andreas M. Antonopoulos 1b4bc490a0 parameter metadata parser, display improvements 2012-07-04 17:58:09 -07:00
Andreas M. Antonopoulos 400e313377 parameter metadata -> wiki, bug fixes 2012-07-04 17:42:38 -07:00
rmackay9 be3d035a64 AP_Motors: clarified some doxygen descriptions for TradHeli 2012-07-05 08:46:50 +09:00
Andreas M. Antonopoulos d5d5c3923f parameter metadata parser and wiki generator 2012-07-04 16:44:53 -07:00
Amilcar Lucas 6904bef611 Document++ 2012-07-05 00:33:46 +02:00
Amilcar Lucas 8400bd67f8 Remove unused function 2012-07-05 00:33:10 +02:00
Andrew Tridgell dc6d70bc15 SITL: added SIM_GPS_DELAY parameter
this allows a delay to be added to the gps data to test the impact on
AHRS/DCM
2012-07-04 21:05:22 +10:00