rmackay9
a1f5661161
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.
13 years ago
rmackay9
ad9a8acbab
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.
13 years ago
Andrew Tridgell
e956e21e7d
ACM: enable the new compass offset nulling in ACM
13 years ago
Andrew Tridgell
547b4ed55b
AHRS: adapt ArduCopter for new AHRS framework
13 years ago
Andrew Tridgell
1016d3c95d
ACM: removed quaternion special cases in CLI code
13 years ago
Andrew Tridgell
7e4c8592ff
ACM: make it possible to build ArduCopter with quaternions
13 years ago
Jason Short
ca34d7b7c2
Added test for stab_d gain scheduling.
13 years ago
Jason Short
fa32b084bd
Added SW test for Manual Boost
13 years ago
Jason Short
71d57a5371
Enabled PWM test
13 years ago
Jason Short
5ab37a346c
reduce test.pde size for 1280 users
13 years ago
Doug Weibel
ed9f7cb1b6
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
13 years ago
Jason Short
4eacc6f3eb
re-enabled relay test
13 years ago
Pat Hickey
7535c1c3fe
ArduCopter test.pde: translate from CH_ to MOT_ notation
13 years ago
Jason Short
8a921e869c
Fixed a 1280 only test
13 years ago
Randy Mackay
bbe6dea980
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.
13 years ago
Andrew Tridgell
955dfe0226
ACM: check compass health before using it
13 years ago
Andrew Tridgell
73e6d5ee11
ACM: update for DataFlash changes
13 years ago
Andrew Tridgell
111d156a99
ACM: fixed HIL build again
13 years ago
Jason Short
cc4f5e7c74
disabled some tests with warnings
13 years ago
Jason Short
85b564c5eb
removed some unneeded HIL #defines
13 years ago
Andrew Tridgell
483bef35e5
IMU: update ACM and APM for flash_leds change in IMU init
13 years ago
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
13 years ago
Pat Hickey
6dbd6b4181
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?)
13 years ago
Randy Mackay
fe336fb749
ArduCopter - small fixes to fix HIL compile errors
13 years ago
Randy Mackay
67855b207d
Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types
13 years ago
Jason Short
6dfdd754ea
Stability patch updates,
...
Cleanup
13 years ago
Jason Short
9bc6fce3b8
Function call defs commented with // so the preprocessor doesn't get confused
13 years ago
Jason Short
778393c4a7
Enabled the compass test
13 years ago
Andrew Tridgell
2a5a15abce
test: fixed test code for HIL build
13 years ago
Andrew Tridgell
2d8cfc0c3f
test: neaten up the output of the dcm test
13 years ago
Pat Hickey
475afd6ac2
purple: enable dcm test, and fixed imu test to test the IMU API
13 years ago
Pat Hickey
c2972ff1f9
purple: fixed CLI code for non-ADC hardware and no sonar
...
purple hardware does not use the ADC driver
13 years ago
Pat Hickey
63393b206a
purple: added ins test
...
this tests the InertialSensor library API
13 years ago
Pat Hickey
4869ac3385
purple: use the new LED_ON/LED_OFF macros for LED level
...
this gets this right on both APM1 and purple for ArduCopter
13 years ago
Jason Short
10a24f22fa
renamed set_cmd function
13 years ago
Jason Short
eef04a5a54
removed some tests
13 years ago
Jason Short
833fe17c6a
disabled raw GPS temp
13 years ago
Jason Short
bb4e612241
Shortened test name
13 years ago
Jason Short
2c9ebf11b8
removed unused functions, log fix
13 years ago
Jason Short
c8304114a3
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.
13 years ago
Jason Short
0a538baeb2
updated baro test
13 years ago
Jason Short
142707711e
Updates to guided mode from Michael O.
...
removed or commented unused static vars
14 years ago
Jason Short
b0bd9d1c44
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
14 years ago
Amilcar Lucas
ee4251baef
Fix compilation
14 years ago
Jason Short
f89da12387
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
14 years ago
Jason Short
35c30e91bf
Test for new nav function
14 years ago
Jason Short
b2b28cc90c
Converted Millis to Micros
...
added navigation check to return a failed navigation
14 years ago
Jason Short
bf94ba551e
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!
14 years ago
Andrew Tridgell
0425f4be54
updates for new DCM code
...
G_Dt is no longer needed by the DCM
14 years ago
Jason Short
d29cfbcee3
Integration of optical flow
...
bug fixes for new Simple mode
increased Baro filter by 2 fields
14 years ago