RateControlRobot ClassRobocode Robot API for .NET
This advanced robot type allows you to set a rate for each of the robot's movements.

You can set the rate for:
  • velocity - pixels per turn
  • robot turn - radians per turn
  • gun rotation - radians per turn
  • radar rotation - radians per turn
When you set a rate for one of the above movements, the movement will continue the move by specified rate for ever, until the rate is changed. In order to move ahead or right, the rate must be set to a positive value. If a negative value is used instead, the movement will go back or to the left. In order to stop the movement, the rate must be set to 0.

Note: When calling VelocityRate, TurnRate, GunRotationRate, RadarRotationRate and variants, any previous calls to "movement" functions outside of RateControlRobot, such as SetAhead(Double), SetTurnLeft(Double), SetTurnRadarRightRadians(Double) and similar will be overridden when calling the Execute  on this robot class.

Look into the source code for the samplecs.VelociRobot in order to see how to use this robot type.
Inheritance Hierarchy

OnlineSystem Object
  Robocode Robot
    Robocode AdvancedRobot
      Robocode TeamRobot
        Robocode RateControlRobot

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version: 1.9.3.0
Syntax

public abstract class RateControlRobot : TeamRobot
See Also