see https://docs.google.com/presentation/d/1qiHUXWhfyjId9OIOSqn1sceiAJs9kRUNLnNUl509HhI/pub?start=false&loop=false&delayms=5000 for higher quality original of this presentation given at EclipseCon Europe 2016 in Ludwigsburg Germany
6. EclipseCon France
1. won Rover kit - tx Gaël!
2. had to do something with it… ;-)
3. was looking for RPi brico. excuse
7. Hardware VS Soft.
We do know bugs as (Java)
software developers - but
we’re used to assuming that
our underlying HW “just
works” reliably.
When bricolage: “To explore
strange new worlds, to seek
out new …”
8. The FUN with real hardware!
First RPi from EC was broken (but only partially, so extra fun)
WiFi on RPv3 is NOK, interference from motor shield (but only if no monitor!)
GPIO PINs for motor & sound overlap (by default; soldering req. to remap)
SD cards get corrupted after unzip & power halt (generously sync)
11. Pi4j
Java library to talk to GPIO
pins on the Raspberry Pi
Control Motors, LEDs,
Buttons, etc.
12. Driver
Java library with “Turtle” like
APIs to control Rover’s motors:
Forward, Backward, speed
Turn left/right, in degrees
Offers 3 modes: Sync VS
Async (BG Thread) VS
Queueing
13. Test Drive
under rough conditions -
Rover had to withstand
blazing sunshine, three kids
and a dog.
14. Binding
Pretty easy to write a new
Eclipse SmartHome Binding for
a new (robot) “device” …
http://docs.openhab.org/devel
opers/development/bindings.h
tml
https://www.eclipse.org/smart
home/documentation/develop
ment/bindings/how-to.html