Commit Graph

46 Commits

Author SHA1 Message Date
Jason Short fb003e9742 Enabled PWM test 2012-02-09 22:22:01 -08:00
Jason Short 9dd1730cce reduce test.pde size for 1280 users 2012-01-28 22:16:24 -08:00
Doug Weibel 2ea9db84e0 Update battery monitoring code for ArduCopter
Fixes compatibility for APM2.  Also a significant update to the battery monitoring code:  We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos.  These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere).  Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs.  The CLI battery and current monitoring tests were consolidated into 1 test.
changed
2012-01-15 17:10:02 -07:00
Jason Short 81413d2a76 re-enabled relay test 2012-01-13 08:55:02 -08:00
Pat Hickey 87735fef24 ArduCopter test.pde: translate from CH_ to MOT_ notation 2012-01-09 21:57:02 -08:00
Jason Short 737feabc6c Fixed a 1280 only test 2011-12-29 23:02:02 -08:00
Randy Mackay ff66a3417c OptFlow - initial support for APM2 (there are still problems) including adding ability to set Chip Select pin.
Other unrelated changes are:
a) fixed typo in 'esitmate_velocity' to 'estimate_velocity'.
b) moved init_compass from system.pde to sensors.pde which seemed consistent with other sensors.
2011-12-30 12:06:31 +09:00
Andrew Tridgell 1cc38b0701 ACM: check compass health before using it 2011-12-28 20:41:53 +11:00
Andrew Tridgell ef1d8eaeac ACM: update for DataFlash changes 2011-12-28 16:00:49 +11:00
Andrew Tridgell 7520315475 ACM: fixed HIL build again 2011-12-26 19:17:11 +11:00
Jason Short 9e6ea0b167 disabled some tests with warnings 2011-12-23 18:54:38 -08:00
Jason Short 885548e693 removed some unneeded HIL #defines 2011-12-23 14:42:49 -08:00
Andrew Tridgell c007fb49b8 IMU: update ACM and APM for flash_leds change in IMU init 2011-12-13 18:19:41 +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
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
Randy Mackay 26705111e1 ArduCopter - small fixes to fix HIL compile errors 2011-12-11 23:25:03 +09:00
Randy Mackay 62a7b19600 Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types 2011-12-11 16:40:59 +09:00
Jason Short e3700365d4 Stability patch updates,
Cleanup
2011-12-06 21:03:56 -08:00
Jason Short 50afa16f31 Function call defs commented with // so the preprocessor doesn't get confused 2011-12-03 17:55:44 -08:00
Jason Short 3dc43c21af Enabled the compass test 2011-12-03 15:39:02 -08:00
Andrew Tridgell c11ea91721 test: fixed test code for HIL build 2011-11-25 20:00:17 -08:00
Andrew Tridgell 3945d6702b test: neaten up the output of the dcm test 2011-11-25 20:00:17 -08:00
Pat Hickey 36923c0996 purple: enable dcm test, and fixed imu test to test the IMU API 2011-11-25 20:00:17 -08:00
Pat Hickey ddbb6c3348 purple: fixed CLI code for non-ADC hardware and no sonar
purple hardware does not use the ADC driver
2011-11-25 20:00:17 -08:00
Pat Hickey 99ae313695 purple: added ins test
this tests the InertialSensor library API
2011-11-25 20:00:17 -08:00
Pat Hickey bc5a59e5fe purple: use the new LED_ON/LED_OFF macros for LED level
this gets this right on both APM1 and purple for ArduCopter
2011-11-25 20:00:16 -08:00
Jason Short a0cc3bf897 renamed set_cmd function 2011-11-20 00:22:52 -08:00
Jason Short bd8182adda removed some tests 2011-11-19 14:02:00 -08:00
Jason Short 26f5a6f3f0 disabled raw GPS temp 2011-11-16 00:22:23 -08:00
Jason Short 511ae85060 Shortened test name 2011-11-12 15:14:32 -08:00
Jason Short 0cee7f0525 removed unused functions, log fix 2011-11-09 23:28:50 -08:00
Jason Short 80c7e135d5 renamed some command variables to align with Arduplane
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
2011-11-04 21:41:51 -07:00
Jason Short e7cecf03d3 updated baro test 2011-11-01 09:29:55 -07:00
Jason Short 23c0bb9814 Updates to guided mode from Michael O.
removed or commented unused static vars
2011-10-15 13:09:04 -07:00
Jason Short e5b66c1c7c Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-02 11:36:31 -07:00
Jason Short 7e81756ccd Added second PI loop for alt hold.
Upped gains for default JDrones Frame
added gains for second PI loop for alt
removed some tests for 1280 space constraints
2011-10-02 11:36:23 -07:00
Amilcar Lucas 101dc83239 Fix compilation 2011-10-02 14:52:02 +02:00
Jason Short 9a4bd31a8b Minimized the accel_filtered vector to be faster and more accurate.
Made the Filter include the Accels and moved from 8 to 4 terms in the filter
2011-09-30 18:40:29 -07:00
Jason Short 5456b8fe1e Test for new nav function 2011-09-24 16:48:04 -07:00
Jason Short 59a2d2a256 Converted Millis to Micros
added navigation check to return a failed navigation
2011-09-19 22:24:57 -07:00
Jason Short 3b4743ef03 changed PI Library to take Float for DeltaTime
Changed timing to be more accurate in main loop. Still need to switch to micros(). Left that for Tridge. This gets rid of six floating point calcs *250. Nice!
2011-09-19 14:02:42 -07:00
Andrew Tridgell ea26a06f49 updates for new DCM code
G_Dt is no longer needed by the DCM
2011-09-17 14:58:02 +10:00
Jason Short 9a508a20f4 Integration of optical flow
bug fixes for new Simple mode
increased Baro filter by 2 fields
2011-09-15 23:33:00 -07:00
Jason Short db331efbae Circle Mode now working
250Hz loop implemented
2011-09-11 11:22:01 -07:00
Jason Short 8ae158191f Fixes Alt hold mistake
Moves tuning into runtime definable param
Added more IMax to throttle

Signed-off-by: Jason Short <jasonshort@gmail.com>
2011-09-10 15:16:51 -07:00
Andrew Tridgell be8864f424 renamed top level directories
ArduCopterMega -> ArduCopter
added archives directory for old code
2011-09-09 11:27:41 +10:00