Andrew Tridgell
3cb96fb8af
APM: convert to new I2C library
13 years ago
Andrew Tridgell
8d87aa41b9
APM: Update for DataFlash changes
13 years ago
Doug Weibel
8e17b8d6d4
Correct a bug in throttle failsafe feature
13 years ago
Andrew Tridgell
5e347854c3
setup the main loop failsafe after RC library is setup
13 years ago
Andrew Tridgell
26d5d3c385
fixed HIL build
13 years ago
Andrew Tridgell
29fa78214b
APM: added failsafe support
...
we now pass all channels through at 50Hz if the main loop stops
running, regardless of why. This gives us a reasonable failsafe, as
long as the low level RC library is still working, and interrupts
don't get completely disabled.
13 years ago
Andrew Tridgell
f25ee899f3
APM: run mavlink loop while erasing logs
13 years ago
Andrew Tridgell
df094ce463
fixed airspeed sensor for ArduPlane on APM2
...
we were trying to use a non-existant ADC chip!
13 years ago
Andrew Tridgell
b9a88aac32
geofence: added FENCE_TRIGGERED_PIN
...
this allows for a digital pin to be set high when the geofence
triggers. This pin can be connected to an external failsafe device
13 years ago
Andrew Tridgell
1998908a05
DCM: reset the DCM matrix after a ground start
13 years ago
Andrew Tridgell
483bef35e5
IMU: update ACM and APM for flash_leds change in IMU init
13 years ago
Andrew Tridgell
07dba4eff7
desktop: fixed Wire.begin() build problem
13 years ago
Pat Hickey
a99a1dbc9a
ArduPlane: update AP_Baro construtors and initializers
13 years ago
Pat Hickey
f3ad7f3af8
Wire and SPI Init: move to sketch system.pde from libraries
...
* Wire.begin removed from AP_Baro_BMP085::init()
* SPI.begin removed from AP_Baro_MS5611::init()
* SPI.begin removed from AP_InertialSensor_MPU6000::hardware_init()
* Both Wire.begin and SPI.begin added very early in init_ardupilot in
ArduCopter/system.pde and ArduPlane/system.pde
13 years ago
Pat Hickey
f2652d23bf
ArduPlane: calibrate accel with imu.init_accel after imu.init
...
* complements commit 73418559, where init_accel was eliminated
from AP_IMU_INS::init cold start.
13 years ago
Doug Weibel
b03de3095e
Add DataFlash.Init before doing a forced log erase on eeprom reset.
...
Add progress indication during log erase
13 years ago
Pat Hickey
f7a9b8a563
ArduPlane: LED digital writes use LED_OFF and LED_ON
13 years ago
Andrew Tridgell
86927ac0a5
ArduPlane: rename purple to APM2
13 years ago
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
13 years ago
Andrew Tridgell
ca76f6d0ec
purple: add the remaining hw defines for purple hardware
13 years ago
Andrew Tridgell
1e41b4b2b0
timer_scheduler doesn't exist in HIL_MODE_ATTITUDE
13 years ago
Andrew Tridgell
3d175c449e
adc.Init() takes timer_scheduler
13 years ago
Pat Hickey
bad177bfdc
removed old commented out code
13 years ago
Pat Hickey
ad0cac670c
purple: added new parameters needed for new library APIs
...
new APIs pass in timer_scheduler. We also to init the isr_registry
13 years ago
Andrew Tridgell
89d2f0f849
mod barometer.Init() based on hardware
13 years ago
Andrew Tridgell
4933c5bcdd
zero airspeed on ground start when initiated by MAVLink
...
If the users asks for a new calibration, that should include the
airspeed sensor
13 years ago
Doug Weibel
f752c4b799
Change to logging file system.
...
This commit is somewhat temporary as I have come up with a better scheme and will be modifying this. Just making this commit in case I need to roll back
13 years ago
Andrew Tridgell
1118d26f03
fixed "Free RAM" display on bootup
13 years ago
Andrew Tridgell
5a44298d57
CLI: enable "hit enter 3 times" support for CLI
...
if you hit enter 3 times before you send any mavlink packets, we will
enter CLI mode
13 years ago
Andrew Tridgell
e7e8165bc7
don't initialise DataFlash if logging is disabled
...
this fixes HIL without an IMU
14 years ago
Andrew Tridgell
63ac6bcd94
use memcheck_available_memory() instead of freeRAM()
...
this gives a more accurate view of free memory
14 years ago
Andrew Tridgell
e61d742345
GCS: make the two GCS links gcs0 and gcs3
...
the artifical separation between 'gcs' and 'hil' just leads to
confusion. This also simplifies the code a bit more, and saves us a
bit more text
14 years ago
Andrew Tridgell
220b941e31
removed some more dead messages, and convert MSG_* to an enum
...
this make it safer to add a new message while keeping deferred queue
the right size
14 years ago
Andrew Tridgell
3f37cce6c7
remove unused MESSAGE_COMMAND_LIST
14 years ago
Andrew Tridgell
9baab490f1
HIL: first step in simplifying the HIL/GCS code
...
this gets rid of the messy #ifdefs around HIL_PORT, and removes
non-MAVLink GCS and HIL support
14 years ago
Amilcar Lucas
227ce0a92d
Merge some small misc improvements from APM_Camera branch
14 years ago
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
14 years ago
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
14 years ago