Bryn Mawr College IPRE Kickoff Meeting Bryn Mawr College Doug Blank Software Development

Preview:

Citation preview

Bryn Mawr College

IPRE Kickoff Meeting

Bryn Mawr CollegeDoug Blank

Software Development

Bryn Mawr College

IPRE Software

• Connecting Curriculum and Hardware

• Software Design Overview• Short term goals for Spring 2007• On to Hardware

Bryn Mawr College

Educational Robotics

• No one has really ever done this before!

• “Using robots in CS1” is not the same thing as “using robots in service of teaching CS1”– CS education is primary goal– Robotics is the motivation

• A robot that is good for robotics is not necessarily a robot that is good for education, and verse vice-a

Bryn Mawr College

Software Development Overview

• CS1 and CS2 components are just the tip of the iceberg

• These are just “gateway robots” to more sophisticated systems

• “Myro” designed to span the needs of teachers and students from introductory coursework to research robotics, and beyond; and create a smooth continuum

• Should be easy to do very interesting things

Bryn Mawr College

Myro Layers

Myro IronPython

Myro C#

MSR SDK

Serial/Bluetooth Client

Bluetooth Device Interface

Personal Robot

Microcontroller Server

Serial/Bluetooth Client

Bluetooth Device Interface

Bryn Mawr College

Myro Layers

Myro IronPython

Myro C#

MSR SDK

Serial/Bluetooth Client

Bluetooth Device Interface

Scribbler Hardware

BASIC STAMP Server

Serial/Bluetooth Client

Bluetooth Device Interface

Bryn Mawr College

TekkotsuPlayer

Myro Layers

Myro IronPython

Myro C#

MSR SDK

Serial/Bluetooth Client

Bluetooth Device Interface

Scribbler Hardware

BASIC STAMP Server

Serial/Bluetooth Client

Bluetooth Device Interface

Bryn Mawr College

TekkotsuPlayer

Myro Layers

IronPython

Myro C#

MSR SDK

Serial/Bluetooth Client

Bluetooth Device Interface

Scribbler Hardware

BASIC STAMP Server

Serial/Bluetooth Client

Bluetooth Device Interface

C# Basic

Bryn Mawr College

TekkotsuPlayer

Myro Layers

Myro C#

MSR SDK

Low-level Drivers

IronPython C# Basic

Bryn Mawr College

Myro Layers, Spring 2007

Myro CPython

Serial/Bluetooth Client

Bluetooth Device Interface

Scribbler Hardware

BASIC STAMP Server

Serial/Bluetooth Client

Bluetooth Device Interface

Bryn Mawr College

Myro, Spring 2007

• POLL-mode; get sensor data when needed

• Some intelligence: no need to POLL again within a minimum time span

• Make the client/server communications robust

Bryn Mawr College

Myro Interfaces

• Functions– left(), right(), forward(), move()

• Object-oriented– robot.left(), robot.right(),

robot.forward(), robot.move()

Bryn Mawr College

Myro Simulator in Python

Bryn Mawr College

Myro code examples

from myro import *

initialize(“com5”)

forward(.5)

rotate(.8)

stop()

for command in [left, right, forward]:

command(.7)

stop()

Bryn Mawr College

Myro code examples

from myro import *

robot = Scribbler(“/dev/ttyUSB0”)

robot.move(.4, .1)

for i in range(4):

robot.forward(1)

time.sleep(3)

robot.stop()

robot.left(.6)

time.sleep(5)

robot.stop()

Bryn Mawr College

Myro Development

• C# coding standards• Team Suite Foundation Server• Bug tracking• Web integration• Code Analysis• Unit Testing

Bryn Mawr College

Hardware

1. Flip Camera2. Whiteboard playpen

Recommended