Package org.texastorque.torquelib.motors
Class TorqueNEO.SmartMotionProfile
java.lang.Object
org.texastorque.torquelib.motors.TorqueNEO.SmartMotionProfile
- Enclosing class:
- TorqueNEO
Collected representation of the SmartMotionProfile parameters.
-
Field Summary
Modifier and TypeFieldDescriptionfinal double
final double
final double
final double
final int
-
Constructor Summary
ConstructorDescriptionSmartMotionProfile
(double maxVelocity, double minVelocity, double maxAcceleration, double allowedError) SmartMotionProfile
(double maxVelocity, double minVelocity, double maxAcceleration, double allowedError, int slot) -
Method Summary
-
Field Details
-
maxVelocity
public final double maxVelocity -
minVelocity
public final double minVelocity -
maxAcceleration
public final double maxAcceleration -
allowedError
public final double allowedError -
slot
public final int slot
-
-
Constructor Details
-
SmartMotionProfile
public SmartMotionProfile(double maxVelocity, double minVelocity, double maxAcceleration, double allowedError) -
SmartMotionProfile
public SmartMotionProfile(double maxVelocity, double minVelocity, double maxAcceleration, double allowedError, int slot)
-