RoboCup-SPL/GameController

Error:robots can't connect to the GameController

Closed this issue · 6 comments

I follow the Readme.md , build completed.Next I input "java -jar GameController.jar",the main screen is opened.But our team's robots can't connect to the GameController,because each robot window on the main interface displays gray.However, our team uses GameController2017 without this error.

Did you use the header files that come with the GameController2018 in your software?

Do you mean adding the header files RoboCupGameControlData.h and SPLStandardMessage.h from the directory lib to our own team's code project? If so, where it be added to that location in the code?
I didn't find a description of adding a header file in your readme.md file.

Util/GameController/include. Doesn't your OS support searching for files?

Sorry, it is my mistake because my time of touching spl is not long.
When I added the latest header file, a lot of errors occurred after compilation because the versions were inconsistent. such as in BSPLStandard.h , SPL_STANDARD_MESSAGE_STRUCT_VERSION not corresponded ,undeclared identifier "suggestion"...
Is it in order to adapt to the latest simulator to change the code about the team to send messages? I use your code BH2017.

The format changed. It basically changes every year. There are new fields, some old ones were removed (e.g. the whole support for the coach), and some were renamed.

You have to adapt the code to the new format – as all teams had to when preparing for RoboCup 2018.

Thanks a lot.