Statecharts modeling of a robot - PowerPoint PPT Presentation

About This Presentation
Title:

Statecharts modeling of a robot

Description:

... Map drawn using Tkinter canvas rectangles 32 built-in sensors Use serial port to send individual commands Store up to 100 Open Interface Commands on robot ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 11
Provided by: Pchiwan
Category:

less

Transcript and Presenter's Notes

Title: Statecharts modeling of a robot


1
Statecharts modeling of a robots behavior
Silvia Mur Blanch Supervisor Professor Hans
Vangheluwe School of Computer Science
2
The project
  • Project based on
  • Model-based design of a computer-controlled game
    character behavior
  • Jörg Kienzle, Alexandre Denault, Hans Vangheluwe
  • Modeling game AI at an appropriate abstraction
    level, using an appropriate modeling language
  • Event-based approach modularity, efficiency,
    implementation independent
  • Rhapsody Statecharts
  • State/event-based
  • Autonomous/reactive behavior
  • Notion of (real) time

3
Abstracting the Tank
4
Tanks AI architecture
5
Tanks statechartsEvent-based Vs. Time-based
  • In the original designs, the statecharts are
    purely event-based
  • In the final designs, we use time to force guards
    checks, which will trigger transitions

6
Building a simple simulation environment
  • Map defined in a plain text file using numbers
    walls (1), repair station(2), refuel station(3)
  • Map drawn using Tkinter canvas rectangles

7
Simulation using Statecharts
8
The robot iRobot Create
  • 32 built-in sensors
  • Use serial port to send individual commands
  • Store up to 100 Open Interface Commands on robot
  • 8-bit microcontroller with 16Kbytes FLASH memory
  • Provides on-board control with programs written
    in C/C
  • High power Class 1 Bluetooth, 300ft (100m) range
  • Provides remote communication with the Create
    robot

9
Simplifying the tank, dealing with the robot
  • Introduction to the robot getting to know how it
    works and its basic commands (10 built-in demos
    for testing)
  • Model robots behavior based on tanks behavior
    simplify statecharts (robot is a lot simpler)
  • Define statecharts models using AToM3, then
    compile into C/C and adapt to robots
    parameters
  • Possibility of developing a Statecharts to
    iRobot Create compiler for AToM3 free and
    easy-to-use robot behavior modeling tool for
    everyone!

10
Making the robot move
1st step
Communication with robot using BlueTooth
Sending one instruction at a time
2ndstep
int main() printf (Hello world!)
return 0
Load C code describing robots behavior
into Command module
Write a Comment
User Comments (0)
About PowerShow.com