Package com.pocolifo.robobase.novel
Class NovelMecanumDrive
java.lang.Object
com.pocolifo.robobase.novel.NovelMecanumDrive
-
Constructor Summary
ConstructorsConstructorDescriptionNovelMecanumDrive
(NovelMotor frontLeft, NovelMotor frontRight, NovelMotor backLeft, NovelMotor backRight, OmniDriveCoefficients omniDriveCoefficients) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
drive
(double distanceInches, double acceleration) double
void
setIndividualVelocity
(double frontLeft, double frontRight, double backLeft, double backRight) void
setVelocity
(org.apache.commons.math3.geometry.euclidean.threed.Vector3D velocity) void
stop()
void
useGamepad
(com.qualcomm.robotcore.hardware.Gamepad gamepad, double microMovementValue)
-
Constructor Details
-
NovelMecanumDrive
public NovelMecanumDrive(NovelMotor frontLeft, NovelMotor frontRight, NovelMotor backLeft, NovelMotor backRight, OmniDriveCoefficients omniDriveCoefficients)
-
-
Method Details
-
setVelocity
public void setVelocity(org.apache.commons.math3.geometry.euclidean.threed.Vector3D velocity) -
setIndividualVelocity
public void setIndividualVelocity(double frontLeft, double frontRight, double backLeft, double backRight) -
stop
public void stop() -
useGamepad
public void useGamepad(com.qualcomm.robotcore.hardware.Gamepad gamepad, double microMovementValue) -
getEncoderInches
public double getEncoderInches() -
drive
public void drive(double distanceInches, double acceleration) -
applyProfileTimeBased
-
applyProfileDisplacementBased
-