SlideShare a Scribd company logo
Connect your device to application
Be “Android”
           Robocat: robot control system




Tick Chen & Matt Hsu
<tick@0xlab.org>
<matt@0xlab.org>
Agenda   Motivation
         Robocat
         Architecture
         HW
         HAL
         JNI
         Case Study
         Demo
2010 coscup be_android
每個宅男的夢想
Robocat
Robocat
Google Android / GNU Linux 下的機器人控制系統


整合於 0xdroid


可同時控制多組伺服馬達


無痛開發反饋機器人系統


可支援多種伺服馬達
Architecture
Hardware Platform
       Bluetooth dongle




USB
                                 OMAP3530 Beagleboard




I2C
 I2C                                BB Mouse -I2C Level Translator
                                    1V8 ↔ 5V




                          SS-14+ Servo
Libcatcan, User mode I2C driver
Libcatcan is an user space
driver for device catcan ss14+
Catcan SS14+
  I2C interface
  Power: 6v2~7v5
  Dynamic PID setting
  Plug and play
  Group call
     Asynchonous
     Synchonous
Libcatcan (cont)
                                          No kernel driver needed,
        libcatcan-360        libcatcan    but enabling I2C bus 2 is
                                           requisite
                                          Easy and convenient to
                  i2c-dev                 integrate with application
                                          Features:
                  i2c-core
                                            Seek/get position
                                            Group action

 I2C                         I2C host
                              I2C host
                                            Change I2C address
slave                        controller
                             controller
           I2C Bus
Librobocat
Abstract robot
control system
Position aware
Sync and Async
control
Grouping cats
Robocat (cont)
librobocat-jni
Very thin layer glues
librobocat and
Robocat Java API
Robocat Java API
Java library controls
the librobocat
Work flawlessly with
Android API
Case Study
– 0xSpider –
Spider Architecture
0xspiderClient: UI
JSON (JavaScript Object Notation)
         User Interface                   We need a simple
                                          protocol for remote
     Command Manager
                                          controlling
 Robjson extends JSONObject {

 enum ReqType{
  STANDBY,
                                          Lightweight data
                                          interahcnage:
  FORWARD,
  BACKWARD,
  RIGHT,
  LEFT,
  TICKLE,                                 serialize/de-serialize
  UNDIFINED}      → {“CMD”: “STANDBY”}
 }                → {“CMD”: “STANDBY”}

                                          Natively support in
             Rfcomm
                                          Android
            Bluetooth                     Easy to have extension
                         0xSpiderClient
Synaptic
Inverse Kinematics
Cosine Law
Degree Calibration
Command Flow
DEMO
Reference
Robocat Project: http://code.google.com/p/0xrobocat/
Robocat Source: http://gitorious.org/robocat/robocat
0xdroid: http://code.google.com/p/0xdroid/
Board: http://beagleboard.org/
Servo BBMouse: http://www.catcan.com.tw/
Inverse Kinematics:
http://freespace.virgin.net/hugo.elias/models/m_ik.htm
Bluetooth Module: http://www.azurewave.com/
Camera Module: http://www.azurewave.com/
Sponsored
by

      http://0xlab.org




         15 Aug 2010
         Conference

More Related Content

PPT
Unidad 4redes v1_c
PPT
Presentacionteresa
PPT
Wireframe Examples5
PPT
Introduction Of Touch Lens
PPT
E Plus Corporate Overview 07 2008 Final Rev
PPTX
xDDR-MobiMedia2015-Syed Rehan Afzal - TU Eindhoven
PPT
Presentacionteresa
PDF
Android裝置開發過程的軟硬整合關鍵及挑戰
Unidad 4redes v1_c
Presentacionteresa
Wireframe Examples5
Introduction Of Touch Lens
E Plus Corporate Overview 07 2008 Final Rev
xDDR-MobiMedia2015-Syed Rehan Afzal - TU Eindhoven
Presentacionteresa
Android裝置開發過程的軟硬整合關鍵及挑戰

Similar to 2010 coscup be_android (20)

PPTX
Embedded Systems & Robotics Projects
PPTX
MouthMouse
PPT
War field spying robot
DOC
REPORT texto braillefinal
DOCX
Advanced robotics
PDF
Android Operated Wireless Robot Using 8051 MCU
PDF
project report
PDF
Research and Prototyping Ground Robot Platform
PDF
Flyport openPicus datasheet
DOCX
BLUETOOTH CONTROLLED ROBOCAR
PPT
8051 zigbee interface
ODP
Android Based Robots
PDF
Tos tutorial
PPTX
Robo wireless controll
PPT
War robot with night vision camera android application
PDF
Vehicle Controlled by Hand Gesture Using Raspberry pi
DOCX
Arduino bluetooth controlled robot
PDF
concurrency.cc OSHUG #3
ODP
#Make01
PPT
Hexapod ppt
Embedded Systems & Robotics Projects
MouthMouse
War field spying robot
REPORT texto braillefinal
Advanced robotics
Android Operated Wireless Robot Using 8051 MCU
project report
Research and Prototyping Ground Robot Platform
Flyport openPicus datasheet
BLUETOOTH CONTROLLED ROBOCAR
8051 zigbee interface
Android Based Robots
Tos tutorial
Robo wireless controll
War robot with night vision camera android application
Vehicle Controlled by Hand Gesture Using Raspberry pi
Arduino bluetooth controlled robot
concurrency.cc OSHUG #3
#Make01
Hexapod ppt
Ad

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Electronic commerce courselecture one. Pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Encapsulation theory and applications.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Cloud computing and distributed systems.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
“AI and Expert System Decision Support & Business Intelligence Systems”
Electronic commerce courselecture one. Pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
Encapsulation_ Review paper, used for researhc scholars
Encapsulation theory and applications.pdf
The AUB Centre for AI in Media Proposal.docx
Cloud computing and distributed systems.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Ad

2010 coscup be_android