Pat Hickey
5626f4a127
purple: fixed APM_RC.Init() to add isr_registry parameter
2011-11-25 20:00:17 -08:00
Pat Hickey
d3a45a053d
purple: declare sensors for purple library rework
...
we need some different declarations to match the new APIs
2011-11-25 20:00:17 -08:00
Pat Hickey
d5ebf30d74
purple: added config options for purple/APM1 hardware
2011-11-25 20:00:17 -08:00
Pat Hickey
f580a4bea0
purple: added hardware defines for ArduPlane
2011-11-25 20:00:17 -08:00
Pat Hickey
d2f4fea58a
remove BROKEN_SLIDER code
...
use the new CLI_SLIDER_ENABLED option and the "hit ENTER 3 times"
method
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
0f25ae0fd7
purple: fixed system init for purple sensor objects
2011-11-25 20:00:16 -08:00
Pat Hickey
8dffdd18d4
purple: pass isr_registry to APM_RC.Init()
2011-11-25 20:00:16 -08:00
Pat Hickey
bbae76efb5
purple: switch ArduCopter to new sensor objects
...
this uses the new sensor abstractions for the purple/APM1 hardware
choice
2011-11-25 20:00:16 -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
Pat Hickey
1fc57f06b6
purple: added configuration logic for APM1 versus purple hardware
...
This abstracts the names for LED on/off (due to the different wiring
of LEDs on APM1 and purple), and adds the needed config defines for
the two hardware types
2011-11-25 20:00:16 -08:00
Pat Hickey
910a94fcbe
purple: added defines for APM hardware selection
...
we can now choose APM_HARDWARE_APM1 or APM_HARDWARE_PURPLE
2011-11-25 20:00:16 -08:00
Pat Hickey
395f43bee8
build: added new command line build targets
...
this makes it more convenient to build common options
2011-11-25 20:00:16 -08:00
Pat Hickey
0c2e443f75
purple: added comment for enabling purple hardware
2011-11-25 20:00:16 -08:00
Pat Hickey
075bd91a62
git: added a couple more ignore lines
2011-11-25 20:00:16 -08:00
Pat Hickey
afef359ee9
purple: rework DataFlash to separate purple and APM1 hardware support
...
the purple support is still a work in progress, but the APM1 support
should be fine
2011-11-25 20:00:16 -08:00
Pat Hickey
c65a8c4616
build: added jtag-program make target
...
useful for when you have hosed your USB
2011-11-25 20:00:16 -08:00
Pat Hickey
433caaedc0
purple: rework AP_IMU library to use AP_IntertialSensor library
...
the AP_IMU keeps the handling of the calibration, but most of the real
work happens in the lower level AP_IntertialSensor library
2011-11-25 20:00:16 -08:00
Pat Hickey
db8708911a
purple: added AP_InertialSensor library
...
this abstracts the way of getting inertial sensor (gyro and
accelerometer) data for the APM1 and purple hardware. The Oilpan code
is based closely on the old APM1 code
2011-11-25 20:00:16 -08:00
Pat Hickey
ce4547a1a5
purple: rework the RC_Channel library for the APM_RC changes
2011-11-25 20:00:16 -08:00
Pat Hickey
d62ddd30f9
RangeFinder: rework to use AnalogSource library
...
this removes the hacks that check for the ADC object, and instead
choose the method of getting the analog sonar value via the
AnalogSource API
2011-11-25 20:00:16 -08:00
Pat Hickey
0caf351c32
purple: Added AnalogSource library
...
this library abstracts out the way of getting an analog value. If the
ADC library is being used then it calls the ADC Ch() method, otherwise
it calls analogRead()
2011-11-25 20:00:16 -08:00
Pat Hickey
6d876bc54d
AP_ADC: rework ADC library to use PeriodicProcess and ISR_Register
...
this makes it possible to build the ADC library when another driver
may also want that interrupt
2011-11-25 20:00:16 -08:00
Pat Hickey
7474a8be53
purple: added PeriodicProcess library
...
this library provides a clean API for drivers to request periodic
timer driven calls at whatever rate they need
2011-11-25 20:00:16 -08:00
Pat Hickey
812d35a442
purple: added ISR_Registry() library
...
this allows libraries to register interrupt handlers, so multiple
components can use the same hardware level interrupt
2011-11-25 20:00:16 -08:00
Pat Hickey
5cb60f76cf
purple: rework APM_RC library for purple hardware
...
this splits the APM_RC class into instances for purple and APM1, and
adds example sketches for both
2011-11-25 20:00:16 -08:00
Andrew Tridgell
32073eaa51
mod barometer.Init() based on hardware
2011-11-25 20:00:15 -08:00
Pat Hickey
004a4425cd
barometer: add purple_hardware option to Init()
...
this allows selection of right hardware at Init() time
2011-11-25 20:00:15 -08:00
Michael Oborne
f66a6b4308
Add rc input to cli planner mode
2011-11-26 11:23:14 +08:00
James Goppert
8dcca613b7
Working on doxygen support.
2011-11-25 21:35:20 -05:00
Jason Short
10330abf54
no longer using the raw pressure
2011-11-25 11:34:05 -08:00
Jason Short
6ecb6f21a6
increased filter
2011-11-25 11:34:05 -08:00
Doug Weibel
0d62fbd197
Change ArduCopter DataFlash log file system to new file system which allows overwriting logs.
...
Also changed the feature to dump all DataFlash memory to occur when user requests dumping log "-1"
2011-11-25 07:17:15 -07:00
Olivier ADLER
91d296a7aa
/Tools : Deleted PPMEncoder folder inside /Tools folder to avoid confusion with official ArduPPM firmware.
...
Old PPM code is in the Archive folder.
2011-11-25 11:21:19 +01:00
Michael Oborne
df61f672a5
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-11-25 12:40:09 +08:00
Doug Weibel
516216f159
Change type to support "dump all with -1"
2011-11-24 18:55:33 -07:00
Doug Weibel
4a07bb3127
Logging cleanup. Fixed missing cast, removed erase warning, added -1 to dump all option, and fix intermittent bug for log number 1.
2011-11-24 18:55:33 -07:00
Doug Weibel
06c88cf07b
Simplified logging logic for finding start/end of log files
2011-11-24 18:55:32 -07:00
Olivier ADLER
fa461ecc82
ArduPPM 0.9.87 minor manual correction
2011-11-25 01:16:49 +01:00
Michael Oborne
e59a910fb9
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-11-25 08:08:14 +08:00
Michael Oborne
747e1187e7
APM Planner 1.0.97
...
add custom WMS map source
fix alt save issue for feet
update SIL images
2011-11-25 08:07:14 +08:00
James Goppert
65e8b587f9
Working on comments.
2011-11-24 15:54:08 -05:00
Olivier ADLER
22b1b64092
ArduPPM 0.9.87 manual update
...
Corrected failsafe values
Minor modifications
2011-11-24 21:48:50 +01:00
James Goppert
d31b1b31f4
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-11-24 14:28:25 -05:00
James Goppert
fc84c15426
Separated controller block class.
...
Also improved documentation of AP_ControllerBlock.
2011-11-24 13:28:14 -05:00
James Goppert
aaca5094b6
Removed old variable from hal.
2011-11-24 02:08:27 -05:00
Olivier ADLER
f4df5f81f6
* ArduPPM 0.9.87 update :
...
#define to allow Radio Passthrough mode was not working. Corrected.
Removed older hex file
2011-11-23 23:36:23 +01:00
Doug Weibel
e02d615c8a
Rework logging file system to be more robust
2011-11-22 20:20:17 -07:00