Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.548.375 Times

Robot Soccer: An Exercise in Learning the Key Features of Simulink 1.0

  Date Added: August 06, 2013  |  Visits: 243

Robot Soccer: An Exercise in Learning the Key Features of Simulink

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

This demo helps you apply the key features of Simulink that are discussed in the "Introduction to Simulink" webinar:http://www.mathworks.com/company/events/we.../wbnr37271.htmlThe demo was specifically built using the features and concepts that are shown in the webinar; modeling a simple continuous system, adding nonlinearities, including documentation, using subsystems, masking, model reference, buses etc.If you are new to Simulink, it is recommended that you watch the webinar before you try out the exercises and look to implement new strategies for the game.Additional notes accompanying the demo. These notes have been intentionally kept fuzzy and listed in random order as it is expected that you will explore the model to understand all the components and their interaction with each other.1. The demo simulates a 2 vs. 2 robot soccer match. The robots are assumed to be heavier than the football. Thus, any collision between the ball and the robots is perfectly elastic. The robotd-deOaos motion is not impacted by the collision.2. Collision among robots is not implemented as they are considered as point masses.3. Collision modeling in all cases is assumed to be as a spring contact model. When the object colliding with a boundary comes close to that boundary, a force proportional to the negative of the "penetration distance" is computed.4. The strategy subsystems are implemented as referenced models. This was done intentionally so that competing teams could protect their strategies and run the simulation against each other. You can use the model reference protected mode to generate a mdlp file instead of mdl file (introduced in R2009b):>> Simulink.ModelReference.protect('Team_1_Strategy')and>> Simulink.ModelReference.protect('Team_2_Strategy')5. Robot dynamics are simple dynamics of a point mass. However, the mass is inversely proportional to the battery power or "stamina" of the robot. Some damping is also put into the system to avoid too much overshoot. Also, each time the robot actuates itself or brakes, it incurs a small power loss thereby lowering its endurance in the game.6. Positional coordinates in the system are 2D i.e. (x,y). The signal dimensions have been set explicitly. Click on any of the output ports->signal attributes of the masked subsystems to see the dimensions.7. Ball dynamics has a simple implementation- same "spring-based" contact dynamics. From the ball's point of view, there are five contact forces to be accounted for: contacts with the 4 robots and those of the boundaries.8. Observe that the solver has been changed to ode15s which is a stiff solver. The reason for this is that there is stiffness present in the system because of the contact/collision modeling with high spring constants. This can give rise to modes with relatively different dynamics. With a ode45 solver, the faster modes will force the adaptive solver to take smaller steps slowing the simulation down. ode15s ignores some of these fast dynamics.9. All the icon drawing commands on the robot dynamics subsystems were implemented using the MATLAB patch commands. These were taken from the flags demo by Mike Woodward:http://www.mathworks.com/matlabcentral/fil...ange/8856-flagsUse other flags to customize this.10. 2D animation was done using Simulink 3D Animation. The field was textured with a grass image and a viewpoint was so selected so that it looked as 2D. The "GOAL" text was kept behind the field. The moment, a goal is scored, this text is translated to the front giving a TV effect. Texturing was also used to paint the bodies of the robots with the flags. You will have to change the images in order to change these.11. Play around with the strategy subsystems to see if you can come up with efficient strategies to score goals early. Note that each of the teams has full knowledge of the others' positions and those of the ball. They also have knowledge of the remaining power in their team's batteries. There is no velocity information available.12. You need Simulink 3D Animation installed to view animation.Exercises for you to try out:1. How can you use Stateflow to implement a finite state machine that uses a mix of attack and defensive strategies based on ball location?2. What block in Simulink should you use to input a new signal into these strategy subsystems so that time elapsed since the start of the game can be measured and hence be used as part of the strategy?3. Identify the contents inside the MAT file used in the demo. What is the "type" of the contents of the data inside the file? Identify the function that loads this MAT file. Why did we need these data objects in our model?4. Explore the possibility of using control strategies, like PID, to improve robot tracking

Requirements: No special requirements
Platforms: Matlab
Keyword: Adaptive Commands Drawing Dynamics Faster Grass Ignores Image Matlab Ode Patch Slowing Smaller Steps Textured Viewpoint
Users rating: 0/10

License: Freeware Size: 399.36 KB
ROBOT SOCCER: AN EXERCISE IN LEARNING THE KEY FEATURES OF SIMULINK RELATED
Graphic Conversion Tools  -  Image Format Converter 1.32
Image Format converter is developed with using advanced algorithms that makes you enable of format conversion for any type of images such as jpg, bmp, gif, and many others to png, tiff, icon, bmp, gif, jpg, psd etc. Image Format Converter is an...
960.41 KB  
Compression Tools  -  qpress 0.37
qpress is a portable file archiver using QuickLZ and designed to utilize fast storage systems to their max. It's often faster than file copy because the destination is smaller than the source. It supports: -multiple cores, reaching upto 1.1...
148.5 KB  
Graphics Editors  -  JPhotoBrush Image Editing Application 2.3
This is an Image Editing and Enhancement Application (Freeware) written in Java 1.3 making extensive use of Swings and Java2D. Features include : * Brightness/contrast controls, grayscaling, color invert etc * Filters: Blur/Smooth, Sharpen, edge...
350 KB  
Graphic Conversion Tools  -  Convert Image Format 1.32
Convert image format with an easy to use Image Format Converter with single mouse click. Image format converting device is developed with property to support all popular & most usable image formats such as png, tiff, icon, bmp, gif, jpg, psd etc....
960.41 KB  
3D Graphic Tools  -  SGI RGB Image File Plug-In 1.1.1
SGI plug-in provides SGI image file load & save modules for The GIMP. The plug-in supports GRAY, GRAYA, RGB, and RGBA color modes. Using the SGI Plug-In: The Parameter Settings buttons control how much compression is applied to the image: No...
10.24 KB  
Multimedia  -  The aggdraw Module 1.2a3 1.0
The aggdraw module implements the basic WCK 2D Drawing Interface on top of the AGG library. This library provides high-quality drawing, with anti-aliasing and alpha compositing, while being fully compatible with the WCK renderer. The aggdraw...
 
Communication  -  Schnorr-Euchner Adaptive Search Radius Sphere 1.1
A stack-based sequential depth-first decoder that returns Maximum-Likelihood solutions to M-QAM modulated MIMO system-type problems, i.e., a lattice decoder with optional justified rectangular boundary control. In such problems, the depth of the...
10 KB  
Utilities  -  KolourPaint 1.2.2
KolourPaint is a free, easy-to-use paint program for KDE (a desktop environment for UNIX). It aims to be conceptually simple to understand; providing a level of functionality targeted towards the average user. KolourPaint is designed...
10.24 KB  
Graphic Conversion Tools  -  TIFF to JPG Converter 1.32
TIFF to JPG Image converter is an all in one format converting tool designed for any type of images such as jpg, bmp, gif, and many others to png, tiff, icon, bmp, gif, jpg, psd etc. TIFF to JPG Image Format Converter is an intuitive solution for...
960.41 KB  
3D Graphic Tools  -  HPGL-Distiller 0.9.1
HPGL-Distiller is a small program that was written to filter out aspects of a HPGL file which are not relevant for various HPGL output devices, typically vinyl cutters. The original reason for filtering out the irrelevant codes was that my own...
4.1 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB