Transcript
Page 1: Meet the Eclipse SmartHome powered Mars Rover

Colonization of MarsMeet the Eclipse SmartHome powered Mars Rover

Kai Kreuzer & Michael Vorburger

Page 2: Meet the Eclipse SmartHome powered Mars Rover

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

Page 3: Meet the Eclipse SmartHome powered Mars Rover

AGENDA

1. Introduction

2. Rover, RPi, Driver & Eclipse SmartHome Binding

3. What’s new in Eclipse SmartHome?

4. DEMO Time!

Page 4: Meet the Eclipse SmartHome powered Mars Rover

EclipseCon France

1.won Rover - tx Gaël!

Page 5: Meet the Eclipse SmartHome powered Mars Rover
Page 6: Meet the Eclipse SmartHome powered Mars Rover

EclipseCon France

1.won Rover kit - tx Gaël!

2.had to do something with

it… ;-)

3.was looking for RPi brico.

excuse

Page 7: Meet the Eclipse SmartHome powered Mars Rover

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

Page 8: Meet the Eclipse SmartHome powered Mars Rover

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?)

Page 9: Meet the Eclipse SmartHome powered Mars Rover

Power!

Page 10: Meet the Eclipse SmartHome powered Mars Rover

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

Page 11: Meet the Eclipse SmartHome powered Mars Rover

Pi4jJava library to talk to GPIO pins on the Raspberry Pi

Control Motors, LEDs, Buttons, etc.

Page 12: Meet the Eclipse SmartHome powered Mars Rover

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

Page 13: Meet the Eclipse SmartHome powered Mars Rover

Test Driveunder rough conditions -

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

Page 15: Meet the Eclipse SmartHome powered Mars Rover

Remote CollaborationOn Embedded & Offline Hardware is a Challenge!

Page 16: Meet the Eclipse SmartHome powered Mars Rover
Page 17: Meet the Eclipse SmartHome powered Mars Rover

Internet of Things?

Page 18: Meet the Eclipse SmartHome powered Mars Rover

IoT = Intranet of Things

Page 19: Meet the Eclipse SmartHome powered Mars Rover

AUDIO & VOICE SUPPORT

Page 20: Meet the Eclipse SmartHome powered Mars Rover

AUDIO & VOICE SUPPORT

Page 21: Meet the Eclipse SmartHome powered Mars Rover

AUDIO & VOICEIMPLEMENTATIONS★ TTS: MacOS, MaryTTS,

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

specific

Page 22: Meet the Eclipse SmartHome powered Mars Rover

AUDIO SINKS

Page 23: Meet the Eclipse SmartHome powered Mars Rover

DEMO SETUP

Page 24: Meet the Eclipse SmartHome powered Mars Rover

Remote ControlsA. HTML pageB. Site Map,

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

Page 25: Meet the Eclipse SmartHome powered Mars Rover
Page 26: Meet the Eclipse SmartHome powered Mars Rover

Thanks for your interest in our work!

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

Page 27: Meet the Eclipse SmartHome powered Mars Rover

Top Related