Next, move to the directory where you have been running your experiments and make the following changes to the robocup.dsc file. Skip to the bottom of the file and look for instances of "SocSmallSim" and change them to "SocSmallSimSRV". This will convert the robots to the new version with limited range sensing.
In order to avoid breaking some of the existing teams the sensors work as follows:
If an opponent robot is out of range (beyond 0.685 meters) it will appear to be located in the direction of the opponent's goal at a distance of 0.785 meters.
If a teammate robot is out of range (beyond 0.685 meters) it will appear to be located in the direction of your goal at a distance of 0.785 meters.
If the ball is out of range (beyond 0.685 meters) it will appear to be located in the direction of your goal at a distance of 0.785 meters.