Meet the Eclipse SmartHome powered Mars Rover

Preview:

Citation preview

Colonization of MarsMeet the Eclipse SmartHome powered Mars Rover

Kai Kreuzer & Michael Vorburger

CatsThe internet was made for cat videos. Every presentation starts with a cat video.

AGENDA

1. Introduction

2. Rover, RPi, Driver & Eclipse SmartHome Binding

3. What’s new in Eclipse SmartHome?

4. DEMO Time!

EclipseCon France

1.won Rover - tx Gaël!

EclipseCon France

1.won Rover kit - tx Gaël!

2.had to do something with

it… ;-)

3.was looking for RPi brico.

excuse

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 …”

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)

On systemd boot, motor only works on 2nd proc’s access (sound?)

Power!

Networking - Rover’s WiFi AP (=> “offline” ) Conf+

sudo apt-get -y install hostapd

/etc/hostapd/hostapd.conf

/etc/network/interfaces

sudo apt-get -y install dnsmasq

/etc/dnsmasq.conf

Pi4jJava library to talk to GPIO pins on the Raspberry Pi

Control Motors, LEDs, Buttons, etc.

DriverJava 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

Test Driveunder rough conditions -

Rover had to withstand blazing sunshine, three kids and a dog.

Remote CollaborationOn Embedded & Offline Hardware is a Challenge!

Internet of Things?

IoT = Intranet of Things

AUDIO & VOICE SUPPORT

AUDIO & VOICE SUPPORT

AUDIO & VOICEIMPLEMENTATIONS★ TTS: MacOS, MaryTTS,

VoiceRSS, …★ STT: PocketSphinx, Kaldi, …★ HLI: Basic HA control, Rover-

specific

AUDIO SINKS

DEMO SETUP

Remote ControlsA. HTML pageB. Site Map,

usable:1. On Web2. Android App○ Voice input!

Thanks for your interest in our work!

We’re happy if this inspired you to go home and hack something FUN yourself!