Comments (6)
From various RoboCup experience, this kind of bug is very often related to the presence of another GameController running on the same network (since it uses UDP broadcast). In most of our team code, we implemented safe guards to show warnings when there are messages received from two different IPs.
from gamecontroller.
OK, thank you, I will double check it.
from gamecontroller.
That indeed explains many of the headaches I was having because I was running the tests on several machines on the local network here, and they were randomly failing because of this... I shall probably fix the referee to drop UDP packets coming from a different IP address to avoid this problem in the future...
from gamecontroller.
I am indeed receiving packets from two different IP addresses, but strangely, none of them correspond to my local machine... One correspond to another machine on the network running a GameController and the other one correspond to an IP address which is not allocated on my local network. I am not an expert of UDP broadcast and I don't understand why the GameController running on my machine IP=192.168.123.11 is sending UDP packets which the referee receives from IP = 192.168.91.1. Is that normal?
from gamecontroller.
One of the option that might happen is that the interface used is the one from WiFi if your computer is connected through both ethernet and WiFi. Otherwise, I'm not sure of where the issue could come...
from gamecontroller.
I ruled out this by disabling the wifi interface, but the problem remains. It seems UDP broadcast computes a special IP address based on the local IP and broadcast mask... Not sure yet about the details... I will continue to investigate.
from gamecontroller.
Related Issues (20)
- Goal keeper should only be changed during stoppage of a game
- Set player 1 as goalkeeper by default
- Refactoring of subMode for game interruptions
- Add the robot warnings to the GameState
- Game interruption - allow for cancelation when robot touches ball
- Duplicated INCAPABLE penalties sent by Referee might be ignored
- isServingPenalty in HLPushing
- log file naming - timestamp wrong
- Player keep their penalties when state is set to finished
- Ready state in free kick HOT 2
- FREEKICK state makes the remain time inconsistent (jumps for and back) HOT 2
- Goalkeeper should stay penalized until the end of the trial when committing a foul during penalty shootout HOT 1
- Half time period in overtime is not handled correctly
- Parse Error probably using an old protocol on protocol/receiver.py
- Commit 330930838f5b8cf54568362c08d6cca60b2d96e8 breaks game controller simulator league selection HOT 1
- Player 5 is marked as substitute in drop-in games HOT 1
- Fullscreen command does not work
- Pushing button in GC (Adult?) sometimes not working
- Ball in play not possible before the 10s timer is over HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamecontroller.