Andrew Tridgell
a3c3c59b82
ACM: fixed some memory cast warnings
12 years ago
rmackay9
07a7a1acd8
ArduCopter: replaced digitalRead and digitalWrite with faster calls
...
improved performance logging to dataflash
12 years ago
Jason Short
d2a5928c06
Ap state updates
12 years ago
rmackay9
1f801714e8
ArduCopter: incorporate new version of inertial navigation
...
Moved several navigation functions from ArduCopter.pde to navigation.pde
12 years ago
rmackay9
a1b4ec6d0e
ArduCopter: move to use new INS library instead of IMU library
12 years ago
rmackay9
78316adf75
ArduCopter: replace Serial.print with Serial.print_P to save memory.
...
Includes replacing flight_mode_strings with print_flight_mode function.
SendDebug macro replaced with direct Serial.print_P calls.
12 years ago
Jason Short
a0752dc7dc
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
12 years ago
rmackay9
b2f12c4854
ArduCopter: optical flow initialisation changes now that optical flow library automatically works on APM1, APM2 and APM2.5
13 years ago
uncrustify
841b4ce9c8
uncrustify ArduCopter/test.pde
13 years ago
rmackay9
8a6085a3ba
ArduCopter: removed unused maggy variable from test.pde to reduce compiler warnings.
13 years ago
rmackay9
36f947acb9
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.
13 years ago
Jason Short
4d5d16720b
ACM Test: Added a return statement
13 years ago
Jason Short
31f31eec75
ACM : Test for bearing calc
13 years ago
Jason Short
da6d981479
Arducopter: Testing toy mode - commented out by default
13 years ago
Jason Short
0d8e8e0a04
Arducopter: INS
...
removed IMU test, updated INS test to include normalized gravity accel vector.
13 years ago
Jason Short
f35b5ba13f
Arducopter:test.pde made a note for WP radius that shows m in the printout.
13 years ago
Andrew Tridgell
33440567e6
ACM: ArduCopter updates for new compass interface
13 years ago
Jason Short
e8510faf5d
changed define to param for throttle_min
13 years ago
rmackay9
af86ae8cbf
ArduCopter: fixed compile error by declaring extern print_latlon
13 years ago
Andrew Tridgell
435a64b97e
ACM: fixed HIL build
13 years ago
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