Commit Graph

2314 Commits

Author SHA1 Message Date
Pat Hickey
82b48784ef 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
c9f7618ccc purple: rework the RC_Channel library for the APM_RC changes 2011-11-25 20:00:16 -08:00
Pat Hickey
f36ded2854 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
0c0a1b1dcc 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
017f121566 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
d288b8870d 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
1daadb5068 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
36346fd86b 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
89d2f0f849 mod barometer.Init() based on hardware 2011-11-25 20:00:15 -08:00
Pat Hickey
2d8ce38aeb 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
0a0b2d32f4 Add rc input to cli planner mode 2011-11-26 11:23:14 +08:00
Jason Short
abe4758c3b no longer using the raw pressure 2011-11-25 11:34:05 -08:00
Jason Short
6f3b56b38f increased filter 2011-11-25 11:34:05 -08:00
Doug Weibel
9ecfac1156 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
83657698d7 /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
1fb723090f Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-25 12:40:09 +08:00
Doug Weibel
b05e1d90f5 Change type to support "dump all with -1" 2011-11-24 18:55:33 -07:00
Doug Weibel
0f428bd43a 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
27e68234b7 Simplified logging logic for finding start/end of log files 2011-11-24 18:55:32 -07:00
Olivier ADLER
32e67d5a74 ArduPPM 0.9.87 minor manual correction 2011-11-25 01:16:49 +01:00
Michael Oborne
7adee96dbb Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-25 08:08:14 +08:00
Michael Oborne
cabd960bad 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
Olivier ADLER
fcdd12e5a3 ArduPPM 0.9.87 manual update
Corrected failsafe values
Minor modifications
2011-11-24 21:48:50 +01:00
James Goppert
29b7eb12a7 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-24 14:28:25 -05:00
James Goppert
7ef8578029 Separated controller block class.
Also improved documentation of AP_ControllerBlock.
2011-11-24 13:28:14 -05:00
James Goppert
bfda005b5a Removed old variable from hal. 2011-11-24 02:08:27 -05:00
Olivier ADLER
091f031d58 * 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
244eeea34a Rework logging file system to be more robust 2011-11-22 20:20:17 -07:00
Wenyao Xie
40b3c303f7 Worked on autopilot state/ mode mapping. Corrected PIDBlock sign error. 2011-11-22 16:42:51 -05:00
Jason Short
c5c5884006 v number 2011-11-21 22:13:18 -08:00
Jason Short
89e014c06a Added alternate alt hold,
New ESC Calibration Routine
2011-11-21 22:12:19 -08:00
Jason Short
85a5647f5d cleanup 2011-11-21 22:11:06 -08:00
Michael Oborne
96bd7ba480 APM Planner 1.0.96
small tweaks
Move to .net 4.0 (make sure you have .net 4 installed) - for ironpython
2011-11-22 08:32:11 +08:00
Hazy
a5f2cb5ec0 APMPlanner
a few Chinese translations
2011-11-21 20:20:59 +08:00
Andrew Tridgell
8ef364657b MAVLink: fixed throttle display in VFR_HUD 2011-11-21 20:29:19 +11:00
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
2011-11-21 20:29:18 +11:00
Andrew Tridgell
faaaf11822 fixed disabling of GPS in ArduPlane
we may need a new hex
2011-11-21 20:29:18 +11:00
Jason Short
6d99e78887 removed unused function 2011-11-20 21:59:55 -08:00
Jason Short
95b797d359 removed the init_esc - reworking the method to avoid the use of the CLI. 2011-11-20 21:24:32 -08:00
Jason Short
5c797e91b5 Better function definition 2011-11-20 20:32:46 -08:00
Jason Short
beeba99b92 Missed a function definition for no_logs option 2011-11-20 20:29:58 -08:00
Olivier ADLER
db8efd3287 ArduPPM 0.9.86 update :
#define to allow Radio Passthrough mode disabling on APM v1.4 (hardware failsafe for Arduplane)
This is to allow for safe use of CH8 with Arducopter.
2011-11-21 02:22:36 +01:00
Michael Oborne
eb2f8180ab firmware build 2011-11-21 05:02:13 +08:00
Michael Oborne
076b93967d firmware build 2011-11-21 04:53:20 +08:00
Jason Short
2600f19172 RTL Yaw hold as default 2011-11-20 12:50:13 -08:00
Jason Short
fbf09dbf2d Made save WP the default
Cosmetic updates
2011-11-20 12:50:12 -08:00
Michael Oborne
307971f82b firmware build 2011-11-21 03:03:42 +08:00
Randy Mackay
f397bae793 ArduCopter Alt Hold - Change to not run get_nav_throttle if manually adjusting altitude with manual_boost - removes possibility of I term running up
Tuning - added ability to modify altitude (position, not rate) controller
TradHeli - Fairly large change to how throttle is scaled and collective moves.
2011-11-20 22:30:42 +09:00
Hazy
bf6a675a82 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-20 20:17:47 +08:00
Hazy
02591d8d38 APM Planner - fix "Invalid Board Type" bug for board using mega32u2 2011-11-20 20:16:47 +08:00