Difference between revisions of "RoboCup Simulator"

From RoboJackets Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The simulator, <tt>soccsim</tt>, is used heavily for off-line development and testing.  It provides the same interfaces as <tt>ssl-vision</tt> and <tt>radio</tt>, allowing <tt>soccer</tt> to run in (nearly) the same way for simulation and real operation.
+
The simulator, <tt>simulator</tt>, is used heavily for off-line development and testing.  It provides the same interfaces as <tt>ssl-vision</tt> and <tt>radio</tt>, allowing <tt>soccer</tt> to run in (nearly) the same way for simulation and real operation.
  
 
==Invocation==
 
==Invocation==
 
<pre>
 
<pre>
./soccsim [-c <config file>] [--ui] [--sv]
+
./simulator [-c <config file>] [--sv]
 
</pre>
 
</pre>
 +
 +
The configuration file specifies the number and model of the robots on the blue team and yellow team.
  
 
If no configuration file is given, it will use <tt>simulator.cfg</tt> in the current directory.
 
If no configuration file is given, it will use <tt>simulator.cfg</tt> in the current directory.
  
* <tt>--ui</tt> displays a GUI that is really only useful for debugging the geometry given to the physics engine.
 
 
* <tt>--sv</tt> causes the simulator to send data to the <tt>ssl-vision</tt> multicast address.  <b>Do not use this on a competition network!</b>
 
* <tt>--sv</tt> causes the simulator to send data to the <tt>ssl-vision</tt> multicast address.  <b>Do not use this on a competition network!</b>
  
 
==Limitations==
 
==Limitations==
* No noise.
 
 
* Only outputs data for one camera.  Ball-occlusion simulation is still done as if there were two cameras.
 
* Only outputs data for one camera.  Ball-occlusion simulation is still done as if there were two cameras.
 
* No carpet effects such as loss of traction and variable height.
 
* No carpet effects such as loss of traction and variable height.
 
* Only partial simulation of robot status in RadioRx packets.
 
* Only partial simulation of robot status in RadioRx packets.
 +
 +
[[Category: RoboCup]]

Latest revision as of 23:11, 13 June 2018

The simulator, simulator, is used heavily for off-line development and testing. It provides the same interfaces as ssl-vision and radio, allowing soccer to run in (nearly) the same way for simulation and real operation.

Invocation

./simulator [-c <config file>] [--sv]

The configuration file specifies the number and model of the robots on the blue team and yellow team.

If no configuration file is given, it will use simulator.cfg in the current directory.

  • --sv causes the simulator to send data to the ssl-vision multicast address. Do not use this on a competition network!

Limitations

  • Only outputs data for one camera. Ball-occlusion simulation is still done as if there were two cameras.
  • No carpet effects such as loss of traction and variable height.
  • Only partial simulation of robot status in RadioRx packets.