136
ANDROID NUI PHYSICAL COMPUTING

Android & Nui & Physical Computing

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Android & Nui & Physical Computing

ANDROID NUI

PHYSICAL

COMPUTING

Page 2: Android & Nui & Physical Computing

Introduction

名前:紅林 隆浩(@crimsonwoods)

年齢:27歳(83世代)

出身:静岡:沼津高専(制御情報工学科)

職業:フリーの組み込み系ソフトウェゕエンジニゕ

趣味:自転車 / 写真 / 酒 etc.

技術分野:

Android / Linux / Windows

MPU / FPGA

C / C++ / C# / Java とかそんな感じ。

Page 3: Android & Nui & Physical Computing

Introduction

Page 4: Android & Nui & Physical Computing

Introduction

Page 5: Android & Nui & Physical Computing

Table of Contents

今日のお話

Page 6: Android & Nui & Physical Computing

Table of Contents

1. Android

2. NUI

3. Physical Computing

4. Dream of Electric Sheep

5. Appendix

Page 7: Android & Nui & Physical Computing

Android

Page 8: Android & Nui & Physical Computing

Android

What’s

Android<

Page 9: Android & Nui & Physical Computing

Android

Android au iPhoneじゃないよ

Page 10: Android & Nui & Physical Computing

Android

Mobile Phone ケータイ

Page 11: Android & Nui & Physical Computing

Android

Smart Phone スマホ or スマフォン

Page 12: Android & Nui & Physical Computing

Android

No! No! No!

Page 13: Android & Nui & Physical Computing

Android

Platform

Page 14: Android & Nui & Physical Computing

Android

1.Operating System

2.Framework

3.Application

4.Market

Page 15: Android & Nui & Physical Computing

What can we do?

What can we

do?

Page 16: Android & Nui & Physical Computing

Android

1.Custom Kernel

2.Custom Device Driver

3.Custom Framework

4.Original Application

Page 17: Android & Nui & Physical Computing

What can we do?

We can

change!

Page 18: Android & Nui & Physical Computing

What can we do?

Page 19: Android & Nui & Physical Computing

What can we do?

We can

change!

Page 20: Android & Nui & Physical Computing

What can we do?

大事なことなので

2回(ry

Page 21: Android & Nui & Physical Computing

What can we do?

But, In fact…

Page 22: Android & Nui & Physical Computing

What can we do?

1.No root

2.No modify

3.False liberty

Page 23: Android & Nui & Physical Computing

What can we do?

1. Custom DSP

2. Custom Sensors

3. Custom Security

Page 24: Android & Nui & Physical Computing

What can we do?

Android is

OSS (基本的には)

Page 25: Android & Nui & Physical Computing

What can we do?

基本的には!

Page 26: Android & Nui & Physical Computing

What can we do?

大事なことなので(ry コピペじゃないよ

Page 27: Android & Nui & Physical Computing

What is OSS?

• Kernel(Linux kernel) • Standard device driver • Android framework

–System service –HAL module –Dalvik VM –Java & JNI libraries

Page 28: Android & Nui & Physical Computing

What is OSS?

Kernel(Linux kernel)

http://android.git.kernel.org/

Get source code!

Enjoy!

Page 29: Android & Nui & Physical Computing

Get Linux kernel

Page 30: Android & Nui & Physical Computing

Get Linux kernel

(つд⊂)ゴシゴシ

Page 31: Android & Nui & Physical Computing

Get Linux kernel

Page 32: Android & Nui & Physical Computing

Get Linux kernel

(;゚д゚) ・・・

Page 33: Android & Nui & Physical Computing

Get Linux kernel

(つд⊂)ゴシゴシ

Page 34: Android & Nui & Physical Computing

Get Linux kernel

Page 35: Android & Nui & Physical Computing

Get Linux kernel

(;゚д゚) !?!?!

Page 36: Android & Nui & Physical Computing

Get Linux kernel

Page 37: Android & Nui & Physical Computing

Get Linux kernel

Page 38: Android & Nui & Physical Computing

Get Linux kernel

Goodbye “kernel.org”

Page 39: Android & Nui & Physical Computing

Get Linux kernel

Hello “codeaurora.org”

Page 40: Android & Nui & Physical Computing

What is OSS?

Kernel(Linux kernel)

https://www.codeaurora.org/gitweb/quic/la/

Get source code!

Enjoy!

Page 41: Android & Nui & Physical Computing

Get Linux kernel

暫定的な

対処だよ♡

Page 42: Android & Nui & Physical Computing

What is OSS?

Device driver

Linux標準のものは

kernelに含まれてるよ。

Page 43: Android & Nui & Physical Computing

What is OSS?

Device driver • 標準バス(I2C,SPI,etc.)

• GPIO

• Block device

• Input device etc.

Page 44: Android & Nui & Physical Computing

What is OSS?

Android framework

frameworks/base/core/java/

とか。

いっぱいありすぎ・・・

Page 45: Android & Nui & Physical Computing

What is OSS?

Let’s enjoy

happy hacking!

Page 46: Android & Nui & Physical Computing

Hardware

Hardwareが無い

Page 47: Android & Nui & Physical Computing

Hardware

どのHardware

使えば良いの<

Page 48: Android & Nui & Physical Computing

Hardware

Hardware • DevPhone

– Nexus One – Nexus S

• Original Boards – BeagleBoard – PandaBoard

• Evaluation Boards 画像:

http://www.google.com/phone/detail/nexus-s http://www.linuxfordevices.com/c/a/News/PandaBoard/

Page 49: Android & Nui & Physical Computing

Hardware

開発の詳細は

ヒ・ミ・ツ♡

Page 50: Android & Nui & Physical Computing

NUI

Page 51: Android & Nui & Physical Computing

NUI

Natural User Interface

Page 52: Android & Nui & Physical Computing

NUI

•Touch •Gesture •Voice •Action 画像:http://www.microsoft.com/presspass/events/ces/gallery.mspx

Page 54: Android & Nui & Physical Computing

What does Kinect bring?

Kinect features • Human detection • Bone tracking • Gesture detection • Video capture • Audio capture

Page 55: Android & Nui & Physical Computing

What does Kinect bring?

Kinect活用事例 • なりきりウルトラセブン

• MikuMikuDance

• 光学迷彩

• FAAST

• Kinect巨◯

動画:http://www.youtube.com/watch?v=eCbURRDUUdI

Page 56: Android & Nui & Physical Computing

What does Kinect bring?

Kinectで

Extend yourself!!

Evolve your dream!

Page 57: Android & Nui & Physical Computing

How to make application?

SDK for Kinect • OpenNI

• OpenFrameworks

–ofxKinect

–ofxOpenNI

• Kinect for Windows SDK

Page 58: Android & Nui & Physical Computing

How to make application?

SDKの種類 Platform Driver

OpenNI Windows/Ubuntu PrimeSense or 個別配布

OpenFrameworks Windows/Linux/Mac 個別配布

for Windows SDK

Windows 7 同梱

Page 59: Android & Nui & Physical Computing

How to make application?

Recommend Kinect for Windows SDK

• 純正ドライバ(WinUSBだけど)

• キャリブレーション不要

• C#で書けるからGUI作るのが楽

• もちろんC++版もあるよ

Page 60: Android & Nui & Physical Computing

How to make application?

Kinect for Windows SDK

[入手] http://bit.ly/prfz0O

http://七勘.跳.jp

Page 61: Android & Nui & Physical Computing

Physical Computing

Page 62: Android & Nui & Physical Computing

About Physical Computing

ふぃじかる

物理的な相互作用をもった

こんぴゅーてぃんぐ Hardware/Softwareを用いて

コンピュータシステムを構築する

Page 64: Android & Nui & Physical Computing

About Physical Computing

情報系のみなさんはご存知

Turing Machine

チューリングマシン

Page 65: Android & Nui & Physical Computing

About Physical Computing

なにそれ

おいしいの<

Page 66: Android & Nui & Physical Computing

About Physical Computing

高専生なら

だいたいみんな知ってるあれ

Page 67: Android & Nui & Physical Computing

About Physical Computing

高専ロボコン 仙台高専名取Aチーム

全国大会出場おめでとう=

Page 68: Android & Nui & Physical Computing

About Physical Computing

ロボコンって難しいよね<

Page 69: Android & Nui & Physical Computing

Let’s get started

Prototyping Board

•Arduino family

•mbed

•Gainer etc.

Page 70: Android & Nui & Physical Computing

Let’s get started

Arduino UNO

画像:http://arduino.cc/en/Main/ArduinoBoardUno

Page 72: Android & Nui & Physical Computing

Let’s get started

Gainer

画像:http://gainer.cc/forum/index.php?topic=46.0

Page 73: Android & Nui & Physical Computing

Let’s get started

お値段 3000円~6000円くらい

*スイッチサイエンスさんで購入した場合(送料別)

Page 74: Android & Nui & Physical Computing

Let’s get started

対応言語

•C

•C++

•Processing etc.

Page 75: Android & Nui & Physical Computing

Let’s get started

電源不要

(USB給電) *電流食わなければ

Page 76: Android & Nui & Physical Computing

Let’s get started

専用ライター無し

デバッガ無し

Page 77: Android & Nui & Physical Computing

Let’s get started

漢は黙って

Page 78: Android & Nui & Physical Computing

Let’s get started

プリント

デバッグ

Page 79: Android & Nui & Physical Computing

Let’s get started

だと思った<

残念=

さやかちゃんでした=

Page 80: Android & Nui & Physical Computing

Let’s get started

みんな大好き

画像:http://www.tek.com/products/oscilloscopes/tds3000c/

Page 81: Android & Nui & Physical Computing

Let’s get started

センサーつなげたり

サーボつなげたり

夢が広がるね!

Page 82: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 83: Android & Nui & Physical Computing

Dream of Electric Sheep

ここまで前フリ ΩΩΩ<な、なんだってー=

Page 84: Android & Nui & Physical Computing

Dream of Electric Sheep

Android +

NUI(Kinect) +

Physical Computing

Page 85: Android & Nui & Physical Computing

Dream of Electric Sheep

面白いこと

できる気が

するでしょ<

Page 86: Android & Nui & Physical Computing

Dream of Electric Sheep

Androidは

入出力デバイスだらけ

Page 87: Android & Nui & Physical Computing

Dream of Electric Sheep

加速度センサ

磁気センサ

近接センサ

GPS カメラ

マイク

NFC WiFi

Bluetooth

Page 88: Android & Nui & Physical Computing

Dream of Electric Sheep

Kinectを接続=

<シャキーン=

Page 89: Android & Nui & Physical Computing

Dream of Electric Sheep

<ガオーン=

Page 90: Android & Nui & Physical Computing

Dream of Electric Sheep

そんな装備で 大丈夫か?

Page 91: Android & Nui & Physical Computing

Dream of Electric Sheep

< 大丈夫だ、 問題無い=

Page 92: Android & Nui & Physical Computing

Dream of Electric Sheep

Andriod +

OpenAccessory

Page 93: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 94: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 95: Android & Nui & Physical Computing

Dream of Electric Sheep

Androidに いろんなデバイス つなげちゃおう

Page 96: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 97: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 98: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 99: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 100: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 101: Android & Nui & Physical Computing

Dream of Electric Sheep

Page 102: Android & Nui & Physical Computing

Dream of Electric Sheep [出演]

- @kayno - @crimsonwoods [開発]

- @kayno - @masamo - @crimsonwoods Powered by:株式会社 Ubilabo

Page 103: Android & Nui & Physical Computing

Appendix

Page 104: Android & Nui & Physical Computing

Appendix - NNCT

NNCT • Nagano • Nagaoka • Nara • Niihama • Numazu

Page 105: Android & Nui & Physical Computing

Appendix - NNCT

NumazuNCT

2010/12/18

高専カンフゔレンス in 沼津

Page 106: Android & Nui & Physical Computing

写真提供:@earth2001y

URL: http://www.flickr.com/photos/earth2001y/5297653968/

Page 107: Android & Nui & Physical Computing
Page 108: Android & Nui & Physical Computing
Page 109: Android & Nui & Physical Computing
Page 110: Android & Nui & Physical Computing
Page 111: Android & Nui & Physical Computing
Page 112: Android & Nui & Physical Computing
Page 113: Android & Nui & Physical Computing
Page 114: Android & Nui & Physical Computing
Page 115: Android & Nui & Physical Computing
Page 116: Android & Nui & Physical Computing
Page 117: Android & Nui & Physical Computing
Page 118: Android & Nui & Physical Computing
Page 119: Android & Nui & Physical Computing
Page 120: Android & Nui & Physical Computing
Page 121: Android & Nui & Physical Computing
Page 122: Android & Nui & Physical Computing
Page 123: Android & Nui & Physical Computing
Page 124: Android & Nui & Physical Computing
Page 125: Android & Nui & Physical Computing
Page 126: Android & Nui & Physical Computing
Page 127: Android & Nui & Physical Computing

Appendix - NNCT

他の写真は

↓ http://www.flickr.com/photos/crimsonwoods/sets/72157627861540764/

Page 128: Android & Nui & Physical Computing

Appendix

Page 129: Android & Nui & Physical Computing

Appendix – 義援金PJ

2011年3月11日に発生した東日本大震災において 東北地方を中心に多くの方が被災されました。 お亡くなりになった方々のご冥福をお祈り致します。

東日本大震災を受け、高専カンフゔレンスでも 何か支援をすることはできないかと考えました。 カンフゔレンスの場で義援金を募り、 高専機構を通じて分配を行う復興支援を行いました。

このプロジェクトは3月に始まり、 9月末までの半年間という期限を迎えました。

Page 130: Android & Nui & Physical Computing

Appendix – 義援金PJ

Page 131: Android & Nui & Physical Computing

Appendix – 義援金PJ

Hokuriku.rb×高専カンフゔレンス

高専カンフゔレンス in 三重

3月

高専カンフゔレンス in 長野

7月

Page 132: Android & Nui & Physical Computing

Appendix – 義援金PJ

開催イベント名 開催日時 金額 状況 備考

Hokuriku.rb x 高専カンフゔレンス 2011/03/20 16,011円 振込み済み 振込手数料含む

高専カンフゔレンス in 三重 2011/03/26 10,206円 振込み済み 振込手数料除く

高専カンフゔレンス in 長野2 (募金分) 2011/07/16 22,000円 振込み済み 振込手数料除く

高専カンフゔレンス in 長野2 (運営費余剰分) 2011/07/16 41,531円 振込み済み 振込手数料除く

Page 133: Android & Nui & Physical Computing

Appendix

Page 134: Android & Nui & Physical Computing

新春・高専カンフゔレンス

2012 in 東京

日時:2012年1月14日/15日(両日開催) 場所:産業技術高専荒川キャンパス

Page 135: Android & Nui & Physical Computing

ふるさと自慢 コンテスト

あなたのふるさとの話、 聞かせてください。

出身高専の地域の魅力を語ってください。

コンテストの上位入賞者には うれしい特典もあるよ! 1日目

Page 136: Android & Nui & Physical Computing

ブース 展 示

つくる

芸術・技術 2日目