170 likes | 303 Vues
Software Development. IPRE Kickoff Meeting. Bryn Mawr College Doug Blank. IPRE Software. Connecting Curriculum and Hardware Software Design Overview Short term goals for Spring 2007 On to Hardware. Educational Robotics. No one has really ever done this before!
E N D
Software Development IPRE Kickoff Meeting Bryn Mawr College Doug Blank 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# Personal Robot MSR SDK Microcontroller Server Serial/Bluetooth Client Serial/Bluetooth Client Bluetooth Device Interface Bluetooth Device Interface Bryn Mawr College
Myro Layers Myro IronPython Myro C# Scribbler Hardware MSR SDK BASIC STAMP Server Serial/Bluetooth Client Serial/Bluetooth Client Bluetooth Device Interface Bluetooth Device Interface Bryn Mawr College
Myro Layers Myro IronPython Myro C# Scribbler Hardware MSR SDK Player Tekkotsu BASIC STAMP Server Serial/Bluetooth Client Serial/Bluetooth Client Bluetooth Device Interface Bluetooth Device Interface Bryn Mawr College
Myro Layers IronPython C# Basic Myro C# Scribbler Hardware MSR SDK Player Tekkotsu BASIC STAMP Server Serial/Bluetooth Client Serial/Bluetooth Client Bluetooth Device Interface Bluetooth Device Interface Bryn Mawr College
Myro Layers IronPython C# Basic Myro C# MSR SDK Player Tekkotsu Low-level Drivers Bryn Mawr College
Myro Layers, Spring 2007 Scribbler Hardware Myro CPython BASIC STAMP Server Serial/Bluetooth Client Serial/Bluetooth Client Bluetooth Device Interface 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 • Flip Camera • Whiteboard playpen Bryn Mawr College