TN1ck / robocup-ss13

Building the most awesome robot-soccer-team in existence.
2 stars 0 forks source link

Migrate beam to monitor protocol #15

Closed artifactz closed 11 years ago

artifactz commented 11 years ago

to run soberly

cyborgx7 commented 11 years ago

In order to properly migrate and to make test runs easier, a local storage of position in the movement class is used. This will lead to issues if the Nao can't determine it's approximate position before the first time m.run() is called. Also whenever the Nao is moved (by the referee or otherwise) outside m.run() after it has been called once.

All these issues should be trivial to solve when we have access to the real position.

The command is not YET migrated. This means run() won't work after kickoff, YET.

cyborgx7 commented 11 years ago

Done. Running will now work after kickoff. ATTENTION!!! 0 is not a valid player nummer. Agent has to be initialized with a playernumber >= 1. Also it assumes we are the left (first registered) team. TODO: Gradual turning. Utilizing real position.