What are you Looking for?
Robocup Junior Rescue Simulation Platform
E: Email:
In Simplus platform, the scoring system is automated meaning the system will analyze robot actions and update the team score according to the rules. The Simplus team made the game’s rules flexible by defining 4 config files. These files will ease the Technical Committee’s work by letting them make changes & improvements in league rules each year without changing the server code.
To put it in a nutshell, you can define what action, where, and how it will affect the robot and the team score by just one of TEXT.
Action configuration can be set using server/actionconfig.txt
. This configuration will define the available actions in the server defining the overall game’s rule. You can define as many actions as you want. Each line will define a new action and each action will be defined using 6 characteristics.
- Action1's name;List of Action1's models;List of number of Action1's model;Action1's range;Action1's multiplier; Action1's Positive score ;Action1's Negetive score
- Action2's name;List of Action2's models;List of number of each Action2's model;Action2's range;Action2's multiplier; Action2's Positive score ;Action2's Negetive score
Sample actionconfig.txt
:
functionX;Cuboid,Cylinder;6,4;10;1;5;-1
finish_game;start_title;1;0.5;1.1;10;-10
The example above means:
Trap configuration can be set using server/trapconfig.txt
. This configuration will define the actions that the server will automatically check each cycle of the game. Most of the time, these actions will be used to define some limitations in the game and punishing the teams if they did something forbidden. You can define as many traps as you want. Each line will define a new trap and each trap will be defined using 6 characteristics.
- Trap1's name;List of Trap1's models;List of numbers of the Trap1's models;Trap1's range;Trap1's offset ;Trap1's score
- Trap2's name;List of Trap2's models;List of numbers of the Trap2's models;Trap2's range;Trap2's offset ;Trap2's score
Sample trapconfig.txt
:
trap1;Cuboid;6;2;0;-2
if the robot distance from one of the 6 Cuboids gets less than 2 meters the team will get 2 minus points.
Victim configuration can be set using server/victimconfig.txt
. This configuration will define the victim detection procedure. Each line will define a new action and each action will be defined using 6 characteristics.
#actionName; List of victim Objects; number of victim objects; maxAcceptableRangeFromvictimObject; ScoreForSuccess; ScoreForFailure
Sample victimconfig.txt
:
find_victim;Victim_H_small;5;0.5;10;-5
if the robot calls find_victim
while the distance between the robot and one of the 5 Victim_H_small
models is less than 0.5 meters the team will get 10 points.
Checkpoints configuration can be set using server/checkointconfig.txt
. This configuration will define the actions that the server will automatically check each cycle of the game. Most of the time, these actions will be used to define some bonuses and checkpoint locations if robot relocation is needed. You can define as many checkpoints as you want. Each line will define a new checkpoint and each checkpoint will be defined using 6 characteristics.
# checkpoint name ; name of object ; number of object ; size of checkpoint tile; success score; failure socre
In order to add the “Game manager” to the world, you should drag & drop the game_manager.ttm in your Scene. It should be mention that game_manager.ttm could be found in the “Model Browser” section of CoppeliaSim and in the root of the “Simplus” directory. For setting the “game duration” in “minute” format:
-- Set game duration here --
game_duration=8;