nagyistoce / tin-man

Automatically exported from code.google.com/p/tin-man
GNU General Public License v3.0
0 stars 0 forks source link

Trainer command support #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The simulator supports special commands from a trainer to do things like 
reposition the ball or player, manually set the play mode, etc.

I'd like to support this from TinMan as it's very useful for repetitive 
exercises and machine learning.

Tasks involved:

1. Reverse engineer the protocol (WireShark & source code)
2. Document the protocol on the wiki
3. Implement a parser that supports it
4. Create new types in TinMan to represent the data and a connection to the 
server's monitoring port

I believe, at this point, that this protocol is the same one that's used for 
rcssmonitor3d, so if TinMan fully supported that protocol, then a monitoring 
app could be written entirely in .NET.  I'm not saying that's a good idea, just 
that it's possible.

Original issue reported on code.google.com by drewnoakes on 14 Jun 2010 at 6:10

GoogleCodeExporter commented 9 years ago
Details of protocol now documented on wiki after reverse engineering the source 
code.

http://simspark.sourceforge.net/wiki/index.php/Network_Protocol#Command_Messages
_from_Coach.2FTrainer

Original comment by drewnoakes on 21 Jun 2010 at 10:22

GoogleCodeExporter commented 9 years ago
Have implemented this functionality in 'Wizard' and added a sample class to 
TinMan.Samples.CSharp.  The focus is on sending commands rather than receiving 
updates.  Messages sent from the server may be read, but only the raw string 
s-expression is returned.  The new class is pretty straightforward and 
documented.

So, item 3 from the above will not make the cut as I can't see a case for it 
apart from building a .NET visualisation, which is a large enough task to 
revisit this lone point as a separate issue, if ever required.

Original comment by drewnoakes on 21 Jun 2010 at 12:09

GoogleCodeExporter commented 9 years ago

Original comment by drewnoakes on 6 Apr 2011 at 3:00