5.0

5.0 | 2 ratings Rate this file 18 Downloads (last 30 days) File Size: 244.17 KB File ID: #32835
image thumbnail

Robot Soccer 2.0: Modeling Team Strategies with Stateflow and Network Effects with SimEvents

by Saurabh Mahapatra

 

08 Sep 2011 (Updated 14 Sep 2011)

Additional discrete modeling enhancements to the demo

| Watch this File

File Information
Description

This demo is an extension of the following demo:

http://www.mathworks.com/matlabcentral/fileexchange/28196-robot-soccer-an-exercise-in-learning-the-key-features-of-simulink

The key Simulink concepts on how to build this demo discussed in the "Introduction to Simulink" webinar:

http://www.mathworks.com/company/events/webinars/wbnr37271.html

Please note that the webinar does not cover the Stateflow and SimEvents portions.

Key points to consider in this demo:

1. Team 1 has a strategy that is implemented as different modes in a state chart where the collective behavior of the two robots switches between aggressive and passive plays. The criteria that determines the switching is based on opponent positions and residual energy. Team 2 uses a rather simple strategy with one robot always attacking and the other simply defending by blocking shots.

2. For each team, both robots upload their energy values on a shared channel and download actuator command signals on another shared channel from a centralized station.

3. Observe that the outcomes and game play are different each time you run the simulation. How can you explain this paradox given that all the initial positions and strategy of the robots are the same? What is causing the non-deterministic system level behavior in the system?

4. Under the non-deterministic circumstances outlined above, is it possible to design (assuming existence) an algorithm that guarantees a 90% confidence that team 1 will always win? If such an algorithm does not exist, can you prove why?

Please make sure you use R2011b as SimEvents underwent a major update that requires new blocks (gateway block) for this demo to work.

Required Products SimEvents
Simulink
Stateflow
Simulink 3D Animation
MATLAB release MATLAB 7.12 (2011a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
05 Oct 2011 Mr Smart  
14 May 2012 Benjamin  
Please login to add a comment or rating.
Updates
13 Sep 2011

Turned on the zeroc crossings in the model to make more accurate collisions.

14 Sep 2011

Introduced spacing in the description to make it readable.

Tag Activity for this File
Tag Applied By Date/Time
3d Saurabh Mahapatra 13 Sep 2011 15:35:39
animation Saurabh Mahapatra 13 Sep 2011 15:35:39
ball Saurabh Mahapatra 13 Sep 2011 15:35:39
collaborative Saurabh Mahapatra 13 Sep 2011 15:35:39
competition Saurabh Mahapatra 13 Sep 2011 15:35:39
control Saurabh Mahapatra 13 Sep 2011 15:35:39
fine Saurabh Mahapatra 13 Sep 2011 15:35:39
football Saurabh Mahapatra 13 Sep 2011 15:35:39
game Saurabh Mahapatra 13 Sep 2011 15:35:39
hockey Saurabh Mahapatra 13 Sep 2011 15:35:39
ice Saurabh Mahapatra 13 Sep 2011 15:35:39
introduction Saurabh Mahapatra 13 Sep 2011 15:35:39
machine Saurabh Mahapatra 13 Sep 2011 15:35:39
multagent Saurabh Mahapatra 13 Sep 2011 15:35:39
multiple Saurabh Mahapatra 13 Sep 2011 15:35:39
robocup Saurabh Mahapatra 13 Sep 2011 15:35:39
robot Saurabh Mahapatra 13 Sep 2011 15:35:39
robot soccer Saurabh Mahapatra 13 Sep 2011 15:35:39
robotics Saurabh Mahapatra 13 Sep 2011 15:35:39
simulator Saurabh Mahapatra 13 Sep 2011 15:35:39
simulink Saurabh Mahapatra 13 Sep 2011 15:35:39
soccer Saurabh Mahapatra 13 Sep 2011 15:35:39
state Saurabh Mahapatra 13 Sep 2011 15:35:39
theory Saurabh Mahapatra 13 Sep 2011 15:35:39
visualization Saurabh Mahapatra 13 Sep 2011 15:35:39
webinar Saurabh Mahapatra 13 Sep 2011 15:35:39
simevents Saurabh Mahapatra 13 Sep 2011 15:35:39

Contact us at files@mathworks.com