TeamCode / org.firstinspires.ftc.teamcode.movement / MecanumDrive / Motor / <init>

<init>

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.

Parameters

motor - the DcMotor this Motor represents

vector - the direction this Motor moves in

location - the location at which this Motor is mounted on the physical robot