Download presentation
Presentation is loading. Please wait.
1
Development Commitment Package
iRobot GUI PROTOTYPE 3.0 Jiashuo Li and Sergey Mukhin
2
Current implementation
Drag&Drop Programming Accessible to elementary school children Parametrized Instructions FORWARD 500, 3 LEFT 90 LED[0, 2, 8, 10],[0-255],[0-255] SONG [] Functioning Workflow Create (Open) Compile & Load Run Translation to C High level instructions are translated to low-level language, including new commands Integration with WinAVR Building and loading program to microcontroller Debugging Interface Accessible to undergraduate students Microcontroller emulator Addresses limitations of current toolset Test Capabilities verification and validation
3
Interface Overview 1 2 3 4 1. Command Pane: Available Instructions
4 directions: ↑↓←→ Sensor(s) LED, Sound Better images TBA 2. Instructions list: The composed instruction set Instructions list will be changed to a graphical flowchart and allow for drag&drop modification 3. Instruction Parameters: The parameters for each instruction When a instruction is added or clicked, this panel will change its content accordingly Each parameter will be visualized 4. Debug Pane Loads default program for debug Allows to directly edit programatically generated source code 1 2 3 4
4
Error/Warning detection
The workflow is prototyped according to the diagram Use File menu to perform file operations Use Build menu to build the instructions and load them to microcontroller Error/Warnings will be displayed at compile time Confirmation message will be displayed after successful compilation Program Workflow New file Save file Load file Error/Warning detection Compile
5
Build and Load The translator is able to convert instructions to C code and integrate the C code to the pre-defined template.
6
FORWARD Usage: FORWARD [Distance], [Time]
Distance: distance to travel in forward direction in mm. Time: time to travel in sec All parameters changes are instantly displayed in the List of Commands
7
LEDs Usage: LED [LED1&LED byte value],
[Power LED Color], [Power LED Brightness Setting] LED1&LED2 byte value: -0 if both LEDs are off -2 if LED1 is On -8 if LED2 is On -10 if both are On Power LED Color: Adjust color of Power LED from red to green. Takes values from 0(Red) to 255(Green) Power LED Intensity: Adjust brightness of Power LED. Takes values from 0 to 255 Power LED Color and Brightness are adjustable via slider changes. LED1 and 2 are turned On/Off using respective checkboxes.
8
LEFT Usage: LEFT [Angle]
Makes the robot turn left by number of degrees specified Angle: turning angle in degrees. All parameters changes are instantly displayed in the List of Commands
9
Song TBA This slide is TBA
10
WinAVR Integration The prototype is able to invoke WinAVR from the GUI
It compiles C code and loads the executable to microcontroller
11
Risks, Problems and Mitigation
Mitigation plan Poor User Accessibility (Overly complex and not engaging enough for school children) - Prototyping - Collection of User Feedback Iterative System Revision Hardware Limitations (Low Sensor Resolution) - Scripting Commands - Sensor Calibration Poor development toolset - Request tool from robot vendor - Building a microcontroller simulator
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.