12
1 Mobile Robotics Testbed Mobile Robotics Testbed for MBSE Research & Education for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers with executable SysML activities Modeling & Simulation Lab www.msl.gatech.edu Russell Peak, Director MyroMagic Development Team - Brian Aikens (main software and concepts) - Selcuk Cimtalay (testing and feedback ideas) - Drew Martin (Myro python samples and concepts) - Russell Peak (objectives, requirements, and concepts)

Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

  • Upload
    vutuyen

  • View
    220

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

1

Mobile Robotics Testbed Mobile Robotics Testbed for MBSE Research & Educationfor MBSE Research & Education

Controlling rovers with executable SysML activitiesControlling rovers with executable SysML activities

Modeling & Simulation Lab

www.msl.gatech.eduRussell Peak, Director

MyroMagic Development Team-

Brian Aikens (main software and concepts)

-

Selcuk Cimtalay (testing and feedback ideas)-

Drew Martin (Myro python samples and concepts)

-

Russell Peak (objectives, requirements, and concepts)

Page 2: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Institute for Personal Robots in Education (IPRE) Institute for Personal Robots in Education (IPRE) www.roboteducation.orgwww.roboteducation.org

Page 3: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

BackgroundBackground

Leveraging Institute for Personal Robots in Education (IPRE) —

http://www.roboteducation.org/

Multi-university/corporation educational environment–

Ex. Used in intro comp sci course @ GIT (CS1301)

Key elements–

Mobile robot hardware: IPRE Scribbler, Roomba, SRV-1 •

Sensors, cameras, Bluetooth, firmware, PCB ECAD, ...

Mobile robotics s/w platform: Myro (Python-based libraries)•

Primitive operations ... image processing, intro ~AI, ...

Domain context•

Multi-unit systems, command & control, reusability, ...

Low-cost and open (non-proprietary)

Page 4: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

ObjectivesObjectives

Education platform: Learning SysML activities–

Used in hands-on courses (industry short courses, university courses, ...)

Model it and run it!—“It’s not just for documentation anymore!”

System run-time operation demo aided by SysML •

Research & demonstration testbed–

A mechatronics system —

a type of cyber-physical system –

INCOSE MBSE Modeling & Simulation Team and other projects

Embedded software / firmware–

Hardware-software relations, real-time factors, ...

Executable SysML across multiple constructs–

Activities, parametrics, state machines ...

Misc: instance levels, versioning/config mgt.

Page 5: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Resources for Myro Software & Rover HardwareResources for Myro Software & Rover Hardware wiki.roboteducation.orgwiki.roboteducation.org

(A) Software: Myro

(B1) Hardware: Scribbler (rover body)

(B2) Hardware: IPRE Fluke (add-on board)

(B2)(B1)

(A)

Page 6: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Scribbler / MyroMagic DemoScribbler / MyroMagic Demo Executable SysML Activity Model [1 Executable SysML Activity Model [1 --

original]original]

Resulting python script (simplified view; see actual in later slide)

from myro import *initialize("com29")

forward(1, 1)turnRight(1, .4)forward(1, 1)turnRight(1, .4)forward(1, 1)turnRight(1, .4)forward(1, 1)turnRight(1, .4)

opaque behaviors (native code segments)

Page 7: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Scribbler / MyroMagic DemoScribbler / MyroMagic Demo Executable SysML Activity Model [2 Executable SysML Activity Model [2 --

after live update]after live update]

from myro import *initialize("com29")

senses()beep(1, 440)forward(1, 1)turnRight(1, .4)forward(1, 1)beep(1, 440)turnRight(1, .4)forward(1, 1)turnRight(1, .4)forward(1, 1)turnRight(1, .4)

Resulting python script (simplified view)

opaque behaviors (native code segments)

Page 8: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Scribbler / MyroMagic DemoScribbler / MyroMagic Demo Executable SysML Activity Modeling [activity building blocks]Executable SysML Activity Modeling [activity building blocks]

opaque behaviors (native code segments)

Page 9: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Support for Basic Object Flows Support for Basic Object Flows (as of MM v0.3.4)(as of MM v0.3.4)

Page 10: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Decision Nodes / Guard Conditions Decision Nodes / Guard Conditions and Merge Nodesand Merge Nodes

decision nodeguard condition

(with sensor reading)

merge node

Page 11: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

Python IDLE Viewer/EditorPython IDLE Viewer/Editor Resulting Script for DecisionNodeTestResulting Script for DecisionNodeTest

Page 12: Mobile Robotics Testbed for MBSE Research & Education · 1 Mobile Robotics Testbed for MBSE Research & Education Controlling rovers with executable SysML activities Controlling rovers

SysML ActivitiesSysML Activities

Exercise @ JPLExercise @ JPL Team Contest Using MyroMagic Plugin & Scribbler RoversTeam Contest Using MyroMagic Plugin & Scribbler Rovers

Object1target location

rt1= 30”(anywhere on this circle)

Object2target location

rt2 = 30”(anywhere on this circle)

Object1start location

Object2start location

60 deg, 14”

45 deg, 12”

ra1 = ?ra2 = ?

Object2end location

Object1end location