Football Table Motion: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
Line 1: Line 1:
==Introduction==
==Introduction==
<p>Here we explain <code>MOTION.mdl</code> (aliases/alternate versions: <code>MOTION_demo.mdl</code>, <code>MOTION_exp.mdl</code> and <code>MOTION_demo.mdl</code>). <code>MOTION.mdl</code> is compiled as an external and hence you run in from a terminal (as a super user). Compilation is done by running <code>make.m</code>, which is located in the main folder.</p>
<p>Here we explain <code>MOTION.mdl</code> (aliases/alternate versions: <code>MOTION_demo.mdl</code>, <code>MOTION_exp.mdl</code>,  <code>MOTION_demo.mdl</code> and <code>MOTION_test.mdl</code>). <code>MOTION.mdl</code> is compiled as an external and hence you run in from a terminal (as a super user). Compilation is done by running <code>make.m</code>, which is located in the main folder.</p>


<p>The three different version all serve different needs, '''to use one: save them as MOTION.MDL and compile'''
<p>The three different version all serve different needs, '''to use one: save them as MOTION.MDL and compile'''
Line 6: Line 6:
:Demonstration ready, uses only old code (no Reinforcement learning and a simple policy).
:Demonstration ready, uses only old code (no Reinforcement learning and a simple policy).
;<code>MOTION_frf.mdl</code>  
;<code>MOTION_frf.mdl</code>  
:Used for frf-measurements, this by-passes homing and safety, so make sure to center all rods before running. Secondly, check to see if there are actually weak controllers set in this file. The output of this file is the same as all of the variant, located in <code>MOTION.mat</code>, can be used for loopshaping(it determines all transfer functions). An m-file which processes the data can be found in the <code>../tools</code> folder, you can use the output for loopshaping with i.e.: [http://cstwiki.wtb.tue.nl/index.php?title=Home_of_ShapeIt shape-it]
:Used for frf-measurements, this by-passes homing and safety, so make sure to center all rods before running. Secondly, check to see if there are actually weak controllers set in this file. The output of this file is the same as all of the variant, located in <code>MOTION.mat</code>, can be used for loopshaping(it determines all transfer functions). An m-file which processes the data can be found in the <code>../tools</code> folder, you can use the output for loopshaping with i.e.: [http://cstwiki.wtb.tue.nl/index.php?title=Home_of_ShapeIt shape-it].
;<code>MOTION_exp.mdl</code>
:Experimental version, this file is kept to test new systems e.g. new moves etc.
;<code>MOTION_exp.mdl</code>
:Simulator version, use this file for generating experience. More on this can be found [http://cstwiki.wtb.tue.nl/index.php?title=Football_Table_Simulation_Visualization_Tool#Matlab_Simulink here].
</p>
</p>



Revision as of 14:58, 18 September 2013

Introduction

Here we explain MOTION.mdl (aliases/alternate versions: MOTION_demo.mdl, MOTION_exp.mdl, MOTION_demo.mdl and MOTION_test.mdl). MOTION.mdl is compiled as an external and hence you run in from a terminal (as a super user). Compilation is done by running make.m, which is located in the main folder.

The three different version all serve different needs, to use one: save them as MOTION.MDL and compile

MOTION_demo.mdl
Demonstration ready, uses only old code (no Reinforcement learning and a simple policy).
MOTION_frf.mdl
Used for frf-measurements, this by-passes homing and safety, so make sure to center all rods before running. Secondly, check to see if there are actually weak controllers set in this file. The output of this file is the same as all of the variant, located in MOTION.mat, can be used for loopshaping(it determines all transfer functions). An m-file which processes the data can be found in the ../tools folder, you can use the output for loopshaping with i.e.: shape-it.
MOTION_exp.mdl
Experimental version, this file is kept to test new systems e.g. new moves etc.
MOTION_exp.mdl
Simulator version, use this file for generating experience. More on this can be found here.

Settings

MOTION.mdl

Building

Running

libmotion_tools

libmotion_tools is a small library created for common calculations performed on the table; puppet selection, intersection point calculation, et cetera. It functions using a class, this class has private variables that remembers what puppet is currently selected. The latter is really useful to avoid hectic switching of puppets in twilight zones.

In this section we shortly describe how to use this library.


Actions and Action selection

Attractor dynamics

Constraints

Action selection

Other