Pat Hickey
34ec5081e2
AP_HAL: Dataflash interface populated
2012-12-20 14:51:21 +11:00
Pat Hickey
3b697fe299
AP_HAL: rename Log to Dataflash
...
* I'd love to build a proper abstraction for logging, but I don't have the
time to do so right now.
* The dataflash libs need to be pushed into the AP_HAL_AVR anyway, so I'll
do that now and replace the interface with a better logging driver later.
2012-12-20 14:51:21 +11:00
Pat Hickey
5d2327f52f
AP_HAL: Don't need a separate Console class, BetterStream will do.
2012-12-20 14:51:21 +11:00
Pat Hickey
261ef791a7
AP_HAL Storage: trivial interface and implementation wraps avr/eeprom funcs
2012-12-20 14:51:21 +11:00
Pat Hickey
b0d8f43111
AP_HAL_AVR: Implemented SPIDriver based on Arduino, but it doesn't work yet
...
* I don't have an APM2.5 board I can easily connect a logic analyzer to see
the traffic on the bus...
2012-12-20 14:51:21 +11:00
Pat Hickey
b2a34800e2
AP_HAL_AVR RCPassthroughTest: write to upper (>8) channels as well.
2012-12-20 14:51:21 +11:00
Pat Hickey
1f670b4ce2
AP_HAL_AVR: bugfix to RCOutput_APM1 driver CH5 and CH6
...
* copypasted the code from RCOutputAPM1 and forgot to fix the io pins
to initialize properly
2012-12-20 14:51:21 +11:00
Pat Hickey
ad64fd2924
AP_HAL_AVR: RCOutput_APM2, bugfix to get_freq on CH_10 and CH_11
2012-12-20 14:51:21 +11:00
Pat Hickey
875e928628
AP_HAL_AVR: mostly working implementation of RCOutput_APM1.cpp
...
* CH5 and CH6 output doesn't work at the moment. not sure why
2012-12-20 14:51:21 +11:00
Pat Hickey
d8ceb427f4
AP_HAL_AVR wibble: s/OUT/CH_/g to be more clear
...
* also, correct my poor german, h/t acfoltzer
2012-12-20 14:51:21 +11:00
Pat Hickey
5445ad02f8
AP_HAL_AVR: RCOutput tested implementation for APM2
2012-12-20 14:51:21 +11:00
Pat Hickey
0f96c93362
AP_HAL_AVR: Add RCPassthroughTest test sketch
2012-12-20 14:51:21 +11:00
Pat Hickey
25bc452608
AP_HAL_AVR RCInput: fixes found in testing
...
* On APM1, I was able to test with the failsafe (i.e. all channels giving
fixed values) but not with a real receiver
2012-12-20 14:51:21 +11:00
Pat Hickey
71ea0fc755
AP_HAL_AVR example RCInputTest created
...
* input works for APM2, but valid() isnt quite working yet
2012-12-20 14:51:20 +11:00
Pat Hickey
ec0fddd49a
AP_HAL_AVR: HAL_AVR initializes rcin and rcout
2012-12-20 14:51:20 +11:00
Pat Hickey
776a1074c9
AP_HAL_AVR: check in utility/ISRRegistry
2012-12-20 14:51:20 +11:00
Pat Hickey
064faafdd3
AP_HAL_AVR: stub RCOutput implementations for APM1 and APM2
2012-12-20 14:51:20 +11:00
Pat Hickey
acfbddef0d
AP_HAL: proper RCOutput interface specification
2012-12-20 14:51:20 +11:00
Pat Hickey
fc2e1455a9
AP_HAL_AVR: proper RCInput implementations for APM1 and APM2
2012-12-20 14:51:20 +11:00
Pat Hickey
fb6abbe191
AP_HAL: proper RCInput interface specification
2012-12-20 14:51:20 +11:00
Pat Hickey
2c14a77693
AP_HAL_AVR: add ISRRegistry class, member of HAL_AVR
...
* derived from Arduino_Mega_ISR_Registry class
2012-12-20 14:51:20 +11:00
Pat Hickey
db76562cd5
AP_HAL: global rename PPMInput -> RCInput, PWMOutput -> RCOutput
...
* for clarity. nobody cares that PPM/PWM is the implementation, and with
sbus etc it might not be
2012-12-20 14:51:20 +11:00
Pat Hickey
46f31aa69c
AP_HAL_AVR: Implement I2CDriver based on libraries/I2C
...
* Removed a ton of code we don't need from that driver, which should make
writing new drivers easier.
2012-12-20 14:51:20 +11:00
Pat Hickey
e14729e7d9
AP_HAL_AVR: FastSerial port passes FastSerial example sketch tests
2012-12-20 14:51:20 +11:00
Pat Hickey
cae931a93a
AP_HAL_AVR UARTDriver does basic hello world printing
...
* will import more complex tests next
2012-12-20 14:51:20 +11:00
Pat Hickey
83887cfc87
AP_HAL_APM: basic LiquidCrystal based sketch to test hal gpio & scheduler
2012-12-20 14:51:20 +11:00
Pat Hickey
e9c5f07db2
AP_HAL: Working GPIO interface & implementation
...
* actually, tested the output only... gotta do input next
2012-12-20 14:51:20 +11:00
Pat Hickey
474f57a90a
AP_HAL_AVR: Blink sketch - first working code on coreless
2012-12-20 14:51:20 +11:00
Pat Hickey
ea8242ace1
AP_HAL: Add scheduler interface, move Arduino init code to implementation
2012-12-20 14:51:19 +11:00
Pat Hickey
59a94d5aac
AP_HAL_AVR: implement ::init method in derived HAL_AVR class.
...
* Implementation of ::init taken from Arduino core. Not tested yet
2012-12-20 14:51:19 +11:00
Pat Hickey
18329b1a5d
AP_HAL: add virtual init method to HAL class
2012-12-20 14:51:19 +11:00
Pat Hickey
3b2719dd8c
AP_HAL_AVR: build APM1 example sketch with no Arduio core via nocore.inoflag
2012-12-20 14:51:19 +11:00
Pat Hickey
75279dfa43
AP_HAL_AVR: header include fixups
2012-12-20 14:51:19 +11:00
Pat Hickey
0d342a3293
AP_Common: use EXCLUDECORE macro to hack some debug messages away
2012-12-20 14:51:19 +11:00
Pat Hickey
7854c54880
Arduino.mk: when core is excluded, add -DEXCLUDECORE to flags
2012-12-20 14:51:19 +11:00
Pat Hickey
4493dbb4d2
Arduino.mk: support nocore.inoflag to do coreless builds of each sketch
2012-12-20 14:51:19 +11:00
Pat Hickey
8eb9b39a44
AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace
2012-12-20 14:51:19 +11:00
Pat Hickey
afd1f36400
AP_HAL: add BetterStream, Stream, and Print interfaces
...
* BetterStream Means AP_HAL depends on AP_Common, for now, in order to have
the AVR specific pgm_char_t defined.
I'll need to factor that out in the future but for now it can stay
2012-12-20 14:51:19 +11:00
Pat Hickey
b34d4cdb17
Remove empty AP_Var_menufuncs.cpp
2012-12-20 14:51:19 +11:00
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
2012-12-20 14:51:19 +11:00
Pat Hickey
c4dbe8c627
AP_Param: move from AP_Common to its own library
2012-12-20 14:51:19 +11:00
Pat Hickey
e82d1402ef
AP_Loop: moved to APO library, which is the only code that uses it
2012-12-20 14:51:19 +11:00
Pat Hickey
29a425c0dd
AP_HAL: import utility Print, Stream, and BetterStream headers
2012-12-20 14:51:18 +11:00
Pat Hickey
00920b0483
AP_HAL_AVR: Stub implementations of AP_HAL_AVR concrete classes
2012-12-20 14:51:18 +11:00
Pat Hickey
dc03b1190f
AP_HAL: Stub implementations of pure virtual AP_HAL classes
2012-12-20 14:51:18 +11:00
Andrew Tridgell
33e47e2036
Rover: set throttle range from -100 to 100
...
this allows for reverse
2012-12-18 15:42:11 +11:00
John Arne Birkeland
d5364571a8
ArduPPM V2.3.13
...
- New interrupt system that handles certain Futaba receivers better (simultaneous changes on groups of R/C channels in fast intervals)
- Improved active channel detection requering 100 valid pulses before channel is marked active
- Removed forced throttle fail-safe after channel loss
- Lost channel detection signal for APM by setting channel output to 800us (not activated yet, need APM code to handle signals)
2012-12-16 18:07:55 +01:00
Jason Short
0419dc8dfd
ACM: Simplified control mode code
2012-12-14 13:30:48 -08:00
Jason Short
19ae5c30eb
ACM : Formatting
2012-12-13 20:12:39 -08:00
Michael Oborne
dda74afa21
Mission Planner 1.2.27
...
add extra decimal place on arducopter config screens
update ch6_list
fix quickview double click error
fix terminal/logview comport problem
add AC thr accel pids
modify driver (line ending issue) and resign
fix config view doubleclick popout
2012-12-13 07:46:24 +08:00