Jason Short
96f0a32cd3
ACM Acceleration management
...
removed unused waypoint_radius var
removed slow_wp
updated speed management system to maintain a constant acceleration or deceleration of 1m/s
changed version to 2.8.1a
2012-10-21 14:32:39 -07:00
rmackay9
090a672636
ArduCopter: optical flow initialisation changes now that optical flow library automatically works on APM1, APM2 and APM2.5
2012-09-24 18:39:33 +09:00
uncrustify
4ae0b9dc8a
uncrustify ArduCopter/test.pde
2012-08-21 19:19:50 -07:00
rmackay9
f32c76648d
ArduCopter: removed unused maggy variable from test.pde to reduce compiler warnings.
2012-08-18 16:03:26 +09:00
rmackay9
48b7d26c5d
ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
...
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
2012-08-16 20:04:46 +09:00
Jason Short
67de828bcc
ACM Test: Added a return statement
2012-08-15 21:37:23 -07:00
Jason Short
93c644fd0f
ACM : Test for bearing calc
2012-08-15 21:04:24 -07:00
Jason Short
ca470f8a53
Arducopter: Testing toy mode - commented out by default
2012-07-19 17:50:42 -07:00
Jason Short
02f1695991
Arducopter: INS
...
removed IMU test, updated INS test to include normalized gravity accel vector.
2012-07-18 22:57:10 -07:00
Jason Short
997031bca0
Arducopter:test.pde made a note for WP radius that shows m in the printout.
2012-07-10 21:53:38 -07:00
Andrew Tridgell
7883c4a545
ACM: ArduCopter updates for new compass interface
2012-06-27 16:01:50 +10:00
Jason Short
ef847eecbb
changed define to param for throttle_min
2012-06-20 15:00:05 -07:00
rmackay9
ee20f887b5
ArduCopter: fixed compile error by declaring extern print_latlon
2012-04-30 21:44:27 +09:00
Andrew Tridgell
94b763fa1e
ACM: fixed HIL build
2012-04-30 22:42:17 +10:00
rmackay9
ed9c59879f
ArduCopter: restored gps test in CLI
...
Added check so not enabled when using 1280. Also fixed comments in other tests to explain the check for the 1280.
2012-04-30 17:29:50 +09:00
rmackay9
2128085576
ArduCopter - test.pde - changed references "motor_armed" to "motors.armed()" as part of move to AP_Motors library.
...
Change to ESC initialisation calls to use motors.throttle_pass_through method of AP_Motors class.
2012-04-04 23:05:26 +09:00
Andrew Tridgell
4821eb4807
ACM: enable the new compass offset nulling in ACM
2012-03-27 15:37:24 +11:00
Andrew Tridgell
690ad58a64
AHRS: adapt ArduCopter for new AHRS framework
2012-03-19 17:29:02 +11:00
Andrew Tridgell
e2c525434a
ACM: removed quaternion special cases in CLI code
2012-03-10 10:34:31 +11:00
Andrew Tridgell
1591d41b33
ACM: make it possible to build ArduCopter with quaternions
2012-03-10 10:34:29 +11:00
Jason Short
4ef4a19f8e
Added test for stab_d gain scheduling.
2012-02-28 20:16:40 -08:00
Jason Short
2a5a7fa245
Added SW test for Manual Boost
2012-02-19 12:39:40 -08:00
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