2D simulation robot soccer competition platform

Source: Internet
Author: User

 

Instructions for using the 2D simulated robot soccer platform (v0.2)

Summary:/files/gpcuster/myserver.rar

The platform uses Socket Communication to implement cross-language functions of the team.

Running environment:

Operating System: Windows 2000 or above (including Windows 2000.

Minimum machine configuration: P3 CPU, MB memory.

3rd-party software: Install the. net2.0 library.

Platform usage:

 

IRun the competition:

1. Open the server folder. Run the servermanager.exe file.

You can set functions in "Settings" as needed.

2. Click the "Start platform" button. At this time, the platform will prompt you to start the team and display the IP address of the running platform machine and the platform communication port number.

3. Start the first team and start the demoteamcsharp.exe file in the clientfolder. Enter the IP address and port number of the server.

4. Start the second team in the same way as above.

5. When both teams have uploaded the files, the server screen is as follows:

6. Click start to start the competition.

During the running process, you can move the ball with the mouse, or click "pause" to pause the game, and then click "Start match" to resume the game.

IIDebugging team:

1. Open the server folder. Run the servermanager.exe file.

You can set functions in "Settings" as needed.

2. Click the "Start platform" button. At this time, the platform will prompt you to start the team and display the IP address of the running platform machine and the platform communication port number.

3. Start your local team. For example, start the demoteamcsharp.exe file in the clientfolder. Enter the IP address and port number of the server.

4. Start the companion trainer team in the same way as above.

5. When both teams have uploaded the files, the server screen is as follows:

6. Click start debugging to start debugging.

In the number of cycles N, set the number of cycles for each operation, and click "next N cycles". The Platform runs the specified number of cycles.

If you want to save the information about the current cycle, click "save current cycle" and click "read save cycle" as needed to return to the Saved state.

In debugging mode, you can drag players and football players on the field to specify their positions as needed. You can also right-click the green field,

Select "Open the audience information editing window" to further adjust the audience information, including the player's body orientation, player and football speed, and other parameters.

Here, agent_1 to agnet_5 indicates the players on the left team, and agent_6 to agnet_10 indicates the players on the right team.

If you open the "full-site command editing window", you can edit the commands executed by all players in the field during this cycle.

The platform will replace the commands you have edited with the commands that all players think about.

If you only want to edit a player command, you can click "open a player command window"

The platform will replace the player's own thinking commands with the commands you edited, while other players will execute their own thinking commands.

IIVideo Playback:

 

1. Open the server folder. Run the servermanager.exe file.

2. Click "open" in the menu bar and select a video file with the suffix ". log.

The video file is named as follows: the name of the team on the left + "vs" + name of the team on the right + the specific time of the game (year, month, day, hour, and minute ). For example: dnu_explorer vs dnu_explorer, January 1, September 18, 2007. Log

3. Click "start playing" to start watching the video.

During watching, you can adjust the playback speed through "+" and. "Pause playback" can pause video playback, and "start playing" can resume video playback.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.