Tank Drive
Create a new TankDrive.
Parameters
the drive model parameters
the motion profile parameters
the tank gains parameters
all motors on the left side of the robot (e.g. Arrays.asList(leftFront, leftBack)
)
all motors on the right side of the robot (e.g. Arrays.asList(rightFront, rightBack)
)
the LazyImu instance to use, see the getLazyImu
method of RobotConfig to construct this
the voltage sensor mapping for the robot as returned by hardwareMap.voltageSensor
the starting pose of the robot
Create a new TankDrive that will start at the last known pose.
Parameters
the drive model parameters
the motion profile parameters
the tank gains parameters
all motors on the left side of the robot (e.g. Arrays.asList(leftFront, leftBack)
)
all motors on the right side of the robot (e.g. Arrays.asList(rightFront, rightBack)
)
the LazyImu instance to use, see the getLazyImu
method of RobotConfig to construct this
the voltage sensor mapping for the robot as returned by hardwareMap.voltageSensor