Andrew Tridgell
a99bcec762
desktop: report motors armed in desktop build too
...
this helps in autotest
2011-11-25 20:00:19 -08:00
Andrew Tridgell
de0c38339d
desktop: fixed ADC value for airspeed
2011-11-25 20:00:19 -08:00
Pat Hickey
6ee477bd8d
ArduCopter: rev version number from 2.0.51 to 2.1.0 Alpha
2011-11-25 20:00:19 -08:00
Pat Hickey
ab56a764d3
ArduPlane: rev version number from 2.26 to 2.27 Alpha
2011-11-25 20:00:19 -08:00
Pat Hickey
f7a9b8a563
ArduPlane: LED digital writes use LED_OFF and LED_ON
2011-11-25 20:00:19 -08:00
Andrew Tridgell
f66a98b969
scripts: added build_all.sh
...
this is useful when testing merge work
2011-11-25 20:00:19 -08:00
Andrew Tridgell
86927ac0a5
ArduPlane: rename purple to APM2
2011-11-25 20:00:19 -08:00
Andrew Tridgell
38c85c44ae
ArduCopter: rename purple to APM2
2011-11-25 20:00:19 -08:00
Andrew Tridgell
02f25ac36d
libraries: rename purple to APM2
2011-11-25 20:00:19 -08:00
Andrew Tridgell
3a542b3ef3
USB-MUX: enable USB MUX switching for ArduCopter
2011-11-25 20:00:19 -08:00
Andrew Tridgell
7def0e98e8
USB-MUX: auto-switch telemetry port based on UXB mux for ArduPlane
...
when USB is unplugged, switch baud rate to the SERIAL3_BAUD rate from
EEPROM
2011-11-25 20:00:19 -08:00
Andrew Tridgell
2b7e0c8494
DataFlash_Purple: added new logging methods needed for ArduPlane
...
builds, but not tested yet
2011-11-25 20:00:18 -08:00
Andrew Tridgell
cba93dbd43
DataFlash_APM1: re-add defines lost from merge
2011-11-25 20:00:18 -08:00
Andrew Tridgell
0ee654d6bf
desktop: fixed desktop build
...
vtable error
2011-11-25 20:00:18 -08:00
Andrew Tridgell
338445e60c
ArduCopter-HIL: fixed HIL build
...
Logging isn't always enabled
2011-11-25 20:00:18 -08:00
Andrew Tridgell
de2898e5db
desktop: normalise roll and pitch rates
2011-11-25 20:00:18 -08:00
Andrew Tridgell
91b03a48c1
desktop: added SKETCH as a define
...
useful for automatically handling copter vs plane
2011-11-25 20:00:18 -08:00
Andrew Tridgell
ffba37d599
desktop: first version of register level SITL support
...
this adds register level emulation of the ADS7844 and the RC
input/output hardware on the APM1, allowing for SITL testing without
enabling HIL in the code
2011-11-25 20:00:18 -08:00
Andrew Tridgell
aa558eb033
fixed a valgrind error
...
this error is harmless, but false positives can disguise real errors
2011-11-25 20:00:18 -08:00
Andrew Tridgell
3a0b1d1903
purple: there are no dipswitches on the purple board
2011-11-25 20:00:18 -08:00
Pat Hickey
eee2da01ac
Arducopter: each motors_ pde uses APM_RC.SetFastOutputChannels
2011-11-25 20:00:18 -08:00
Pat Hickey
b8c44d2fc0
APM_RC: _set_speed functions implemented for APM_RC_APM1 and _Purple
...
* I have not tested any of these on real hardware.
2011-11-25 20:00:18 -08:00
Pat Hickey
ea4c220ee9
APM_RC: OCR register init moved from ArduCopter/radio.pde to lib inits.
2011-11-25 20:00:18 -08:00
Andrew Tridgell
6093db948b
compass: added AP_COMPASS_APM2_SHIELD
...
this makes the orientation clearer
2011-11-25 20:00:18 -08:00
Andrew Tridgell
649da8e05d
purple: adc test not useful if no ADC
2011-11-25 20:00:18 -08:00
Andrew Tridgell
40459653b5
purple: fixed LED and IO pin defintitions
2011-11-25 20:00:18 -08:00
Andrew Tridgell
18986d1d9f
barometer: fixed for purple build
2011-11-25 20:00:18 -08:00
Andrew Tridgell
0601f7e8ce
barometer: support 'make purple' for barometer example code
2011-11-25 20:00:18 -08:00
Andrew Tridgell
ca76f6d0ec
purple: add the remaining hw defines for purple hardware
2011-11-25 20:00:18 -08:00
Andrew Tridgell
41caa949ca
fixed InertialSensor stub build
2011-11-25 20:00:18 -08:00
Pat Hickey
1d50bb80fd
hil-sensors ArduCopter: fixes to make hil-sensors build work properly
...
* requires new stub libraries for InertialSensor and PeriodicProcess.
2011-11-25 20:00:18 -08:00
Pat Hickey
d2a0bd35f4
hil-sensors: added stub libraries for InertialSensor and PeriodicProcess
...
* Also added dummy ivar to APM_BMP085_hil
2011-11-25 20:00:18 -08:00
Andrew Tridgell
94423bc335
AP_IMU: fixed shim driver prototype
2011-11-25 20:00:18 -08:00
Andrew Tridgell
1e41b4b2b0
timer_scheduler doesn't exist in HIL_MODE_ATTITUDE
2011-11-25 20:00:18 -08:00
Andrew Tridgell
a3701e521a
build: added hlsensors target
2011-11-25 20:00:18 -08:00
Andrew Tridgell
1c20efe4b8
re-organiser sensor declarations
...
this tries to make the #ifdef nesting easier to understand
2011-11-25 20:00:17 -08:00
Andrew Tridgell
e0488e134f
desktop: fixed build with updated dataflash interface
2011-11-25 20:00:17 -08:00
Andrew Tridgell
8245835ea3
desktop: make AP_InertialSensor pure virtual
...
fixed a link error in Desktop build
thanks to Pat for the C++ foo
2011-11-25 20:00:17 -08:00
Andrew Tridgell
bb7af8c15a
dataflash: fixed datatypes to be compatible with desktop build
2011-11-25 20:00:17 -08:00
Andrew Tridgell
a9c0cbac77
desktop: make DataFlash for Desktop build replace APM1 build
2011-11-25 20:00:17 -08:00
Andrew Tridgell
3d175c449e
adc.Init() takes timer_scheduler
2011-11-25 20:00:17 -08:00
Andrew Tridgell
03c7d7bfb6
purple: always declare timer_scheduler
2011-11-25 20:00:17 -08:00
Andrew Tridgell
2a5a15abce
test: fixed test code for HIL build
2011-11-25 20:00:17 -08:00
Andrew Tridgell
3072fdda85
adc.Init() needs timer_scheduler
2011-11-25 20:00:17 -08:00
Andrew Tridgell
c0898ab3b9
purple: timer_scheduler should be in all builds
2011-11-25 20:00:17 -08:00
Andrew Tridgell
6e9e857157
make configure default to 2560
...
1280 is less common for devs these days
2011-11-25 20:00:17 -08:00
Andrew Tridgell
2d8cfc0c3f
test: neaten up the output of the dcm test
2011-11-25 20:00:17 -08:00
Pat Hickey
1895458dbf
purple: added new parameters to Init() functions
...
this adapts the test code for the purple API changes
2011-11-25 20:00:17 -08:00
Pat Hickey
f9d6facdda
test: added new passthru test
...
this passes radio inputs direct to servo outputs, which is useful for
hardware testing
2011-11-25 20:00:17 -08:00
Pat Hickey
bad177bfdc
removed old commented out code
2011-11-25 20:00:17 -08:00