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 IMU to use, see IMUEx for lazy or no hub IMU (IMUEx.none()) initialisation
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 IMU to use, see IMUEx for lazy or null initialisation
the voltage sensor mapping for the robot as returned by hardwareMap.voltageSensor
Create a new TankDrive that will start at the last known pose and use the first found voltage sensor in the Hardware Map.
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 IMU to use, see IMUEx for lazy or null initialisation