Constructor
new LineFollow()
constructor for the Robot.Algorithm.LineFollow class
- Source:
- See:
Throws:
-
Abstract class Robot.Algorithm.LineFollow can't be instantiated
- Type
- Error
Methods
follow(robotData)
The virtual function for the line follow method. This must be overridden
by the child class.
Parameters:
Name | Type | Description |
---|---|---|
robotData |
Robot.RobotTelemetryData | Values for all the sensors that the robot can read. This includes the position, velocity, bearing and light sensors. |
- Source:
Throws:
-
Method 'Robot.Algorithm.update(robotData)' must be implemented.
- Type
- Error