open class Motor
Class representing a motor used in a mecanum drive.
class Location
The location at which this motor is mounted on the robot, used to calculate which powers should be altered during a turn. |
|
open class Vector2D
Class representing a 2x1 column vector, used for calculating what speeds to move the motors in. |
Motor(motor: DcMotor, vector: Vector2D, location: Location)
Constructs a Motor given a DcMotor, the vector in which it moves, and the location of the motor on the robot. |