56
©SIProp Project, 2006-2008 1 Content-Centric Embedded Treasure Hunting Robot Noritsuna Imamura

Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

Embed Size (px)

DESCRIPTION

A product world is trying to change focusing on "Content-Centric". Then, it is necessary to design our products by "Content-Centric". For that purpose, it is necessary to perform a trial production and a products design quickly flexibly. Therefore we created one robot based on the soul of "DIwO(Do It with Others)" used as basic concepts, such as Make:, in order to realize it. It is created by combining various products used as SoC which Pandaboard. --Brain wave sensor(http://www.neurosky.com/) --2-leg Robot --see-through display(http://www.brother.com/en/news/2011/airscouter/index.htm) --Xtion(http://www.asus.com/Multimedia/Motion_Sensor/Xtion_PRO/) -Software --Android --openFrameworks(http://www.openframeworks.cc/) This is an "AR(augmented reality)-Treasure Hunting Game“ You get virtual treasures by controlling real robot! Rule: -Look at radar window like dragon radar. --Show the treasure on radar as red star. --Center is a place in which a robot is present. ---Blue arrow is direction of robot. -Look at line graph. This is brain wave line graph. --You control the robot to the treasure point by your brain wave. --If you feel some feeling, you control the robot by each feelings. ---Exciting -> Turn left ---Normal -> Go toward ---Relax -> Turn right Such a reason, it is possible to make trial production and commercial production quickly.

Citation preview

Page 1: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 1

Content-Centric Embedded~ Treasure Hunting Robot ~

Noritsuna Imamura

Page 2: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 2

Agenda

1st

About meToday’s goal

2nd

Auto Chasing TurtleTreasure Hunting Robot

Little how to make

Page 3: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 3

My Bio

SpecialNetworking technology (P2P)

Community (OSS)SIProp.orgJapan Android GroupLinaro

CompanyNPO OESF (Open Embedded Software Foundation)

Page 4: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 4

Current work

WorkIndustrial Technology Research Institute.Making a testing center for Android Devices.

Page 5: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 5

Japan Android Group : 2008-

Prof.Maruyama & I started up this community.

At Apr/2008

DetailThe most famous & largest Community in JapanURL: http://www.android-group.jp/Since: Sep/2008Members: over 20,000Branch: over 20

Page 6: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 6

Linaro: 2010-

          http://linaro.org/

MissionOptimize for each SoC & Platform

Contributor for community!

Page 7: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 7

Android’s tools

NyARToolkit for AndroidI made a based-program for this OSS community

http://en.sourceforge.jp/projects/nyartoolkit-and/

OpenCV for Android NDKThis program is included in Android 4.0.1 .

http://tools.oesf.biz/android-4.0.1_r1.0/search?q=SIProp

Page 8: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 8

Today’s Topic

Noritsuna Imamura

Page 9: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 9

What do you want to make?

Page 10: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 10

Need a lot of money…

How to get?Make a Startup CompanyGet a Sponsor

Kinds of SponsorsProduct Sponsors

Get their products

Service SponsorsExpand their service

Extra SponsorsGet office

Page 11: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 11

Important point

Quick making a prototype!Almost people can NOT image a new product without a real device.

Do It Yourself ⇒Do It With Others!

! Reinventing the wheel.MAKE:style

Hardwarebeagleboard-xMArduinoKinect

SoftwareLinux KernelAndroid

Page 12: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 12

Content-Centric Embedded

Content-Centric NetworkingIt was pioneered by Ted Nelson in 1979 and later by Brent Baccala in 2002.

The old internet finds servers by IP-Address.

This philosophy finds them by Contents.

Content-Centric EmbeddedWhen make products, it thinks from hardware.

This philosophy thinks them from Contents.

Ex: Kindle

http://en.wikipedia.org/wiki/Content-centric_networking

Page 13: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 13

Auto Chasing Turtle

Noritsuna Imamura

Page 14: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 14

Summary

This product is an "Auto Chasing Turtle".By autonomous control, this robot recognizes people's face and approaches to the detected human.

Page 15: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 15

Hardwares & Softwares

HardwaresBase computer

Beagleboard-xMTI

Depth SensorKinect

RobotKONDO Animal

Kondo science

SoftwaresUbuntu & Android

Linaro10.03Linaro

Depth SensorofxKinect

UI FrameworkopenFrameworksAndroid

OESF

Page 16: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 16

How to make

Page 17: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 17

3 Points for Developing

Detect the Face

Calculate the course

Calculate the distance

1. detect

2. course

3. distance

Page 18: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 18

Detect the face

How to recognizing a human’s face?Using KINECT RGB Image

KINECT Image

Page 19: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 19

How to recognizing a human’s face

FaceDetector detector = new FaceDetector(w, h, faces.length);int numFaces = detector.findFaces(bitmap, faces);

Android’s APIs.

Page 20: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 20

3 Points for Developing

Detect the Face

Calculate the course

Calculate the distance

1. detect

2. course

3. distance

Page 21: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 21

Calculate the course

1. Calculate a center position of face.2. Calculate a position of the face from 4-

sections separation KINECT’s image.640px

160px

Page 22: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 22

Calculate the course

faces[0].getMidPoint(midPoint); //get center position of faceint pointX = (int)midPoint.x;

if (pointX > 0 && pointX < w/4) { DroidBot.getInstance().turnRight(); // right position} else if (pointX >= w/4 && pointX <= 3*w/4) { ; // center position} else if (pointX > 3*w/4 && pointX <= w) { DroidBot.getInstance().turnLeft(); // left position}

Page 23: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 23

3 Points for Developing

Detect the Face

Calculate the course

Calculate the distance

1. detect

2. course

3. distance

Page 24: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 24

Calculate the distance

Distance of from Robot to detected human

Can be gotten by KINECT.

Page 25: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 25

Calculate the distance

Depth camera’s range is 0~65565.

int dist = OFAndroid.getDistance(pointX, pointY); // Use depth camera

if (dist < 100) DroidBot.getInstance().walkBack4();else if (dist >= 100 && dist < 150) DroidBot.getInstance().walkToward4();else if (dist >= 150 && dist < 200) DroidBot.getInstance().walkToward8();else if (dist >= 200 && dist < 300) DroidBot.getInstance().walkToward16();else if (dist >= 300) DroidBot.getInstance().walkToward32();

Page 26: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 26

Treasure Hunting Robot

Noritsuna Imamura

Page 27: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 27

Summary

This is an "AR(augmented reality) Treasure Hunting Game“

You get virtual treasures by controlling real robot!

Page 28: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 28

Manual

Look at radar window like dragon radar.Show the treasure on radar as red star.Center is a place in which a robot is present.

The Blue arrow is direction of robot..

Look at line graph. This is brain wave line graph.

You control the robot to the treasure point by your brain wave.

Exciting -> Turn leftNormal -> Go towardRelax -> Turn right

Page 29: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 29

Hardwares & Softwares

HardwaresBase computer

PandaboardTI

Brain Wave SensorMindWave

Depth SensorXtion pro live

DisplayAiRscoter

Brother Industries

Walking RobotKHR-3WL

Kondo science

SoftwaresUbuntu & Android

Linaro11.11Linaro

Depth SensorOpenNI

Bone skeleton tracker

NITE for ARM

UI FrameworkopenFrameworksAndroid

OESF

Page 30: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 30

How to make

Page 31: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 31

Hardwares’ photo

AiRscouter

MindWave

Pandaboard

Xtion

Page 32: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 32

Softwares’ photo

Brain WaveLine

GraphBone skeleton

Tracking Window

Page 33: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 33

Calculate robot position

Recognizing a robot by bone skeleton.Using OpenNI + NITE

Calculate direction & position of robot.Calculate by length of bone.

Page 34: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 34

Recognizing bone skeleton 1/2

Using OpenNI + NITE OpenNI is a Kinect & Xtion’s driver as OSS.NITE is a bone skeleton tracking software for OpenNI.

http://75.98.78.94/

Page 35: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 35

Recognizing bone skeleton 2/2

NITE is NOT OSS!Only binary for ARM/Ubuntu.Want to use Android&openFrameworks UI.

Made dual boot OS for Ubuntu&Android.

Linaro Kernel for Ubuntu&Android on Pandaboard

UserLand: Linaro/Ubuntu (NITE runs on this userland)

UserLand: Linaro/Android (Run on Ubuntu by chroot)

Page 36: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 36

Download source code

We release all source code on our site.http://www.siprop.org/en/2.0/index.php?product%2FTreasureHuntingRobot

  Do It Yourself ⇒Do It With Others!

If you want to try it, please ask me!You can experience like Google Glass!

Page 37: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 37

Events & Conferences~ Show Demonstration &

Speech ~

Page 38: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 38

Taiwan & China

Page 39: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 39

OSDC.tw 2012 (Apr/2012)

One of the largest OSS conference in Taiwan

TargetTaiwanese Engineer

Page 40: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 40

COSCUP 2011&2012 (Aug)

One of the largest OSS conference in Taiwan

TargetTaiwanese Engineer

Page 41: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 41

Computex 2011&2012 (June)

The largest hardware business show.Target

Hardware Engineer & Company

Page 42: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 42

Mini Maker Faire 2012 ShenZhen

The first Maker Faire in ChinaTarget

DIY(DIwO) Engineer

About Maker FaireThe most famous DIwO

conference

Page 43: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 43

Yuan Pei Univ.

TargetTaiwanese StudentsEducation

Page 44: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 44

Ma An Shan Univ.

TargetChinese StudentsEducation

Page 45: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 45

Japan

Page 46: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 46

ABC 2012 Spring

The largest Android User Community in JapanTarget

Japanese Android Engineer

Page 47: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 47

NicoNico Gakkai

The largest Otaku conference in Japan.

TargetJapanese DIY(DIwO)

   Engineer

Page 48: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 48

LinuxCon Japan 2012

TargetLinux Embedded Engineer

Page 49: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 49

One more thing

Page 50: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 50

Why do you work?

For money?

Page 51: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 51

No money economy

The money economy is made by single value.

One thing has one priceNo physical thing has no price

True???

Page 52: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 52

Ex: Simeji 1/2

One of Android applicationMade by 2 Japanese guys.

As hobby work.

Taken over by 百度2-3M UDS

.

Page 53: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 53

Ex: Simeji 2/2

Why did 百度 take over it?A technology for input method?

Developers don’t have a technology for input method.

Because base is OpenIME as engine.

Installing user base?Only used by developers. No used by normal people.

Their strong pointOne of most famous developer in Japanese Android Community.

百度 wants to get respect in Japanese community.

Page 54: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 54

This was predicted in 2006

IBM Global Innovation Outlook 2.0 (06’)

http://domino.research.ibm.com/comm/www_innovate.nsf/pages/world.gio2004.html

The "one man company" will appear billions.

Collaboration environment based on a contribution.

The role of a company is supporting to an individual creator and group.

A new product is made by them.

Page 56: Content-Centric Embedded ~Treasure Hunting Robot~ for LinuxCon Japan 2012

©SIProp Project, 2006-2008 56

Thank you!