Package com.ctre.phoenix6.swerve.utility
Class LinearPath.State
java.lang.Object
com.ctre.phoenix6.swerve.utility.LinearPath.State
- Enclosing class:
- LinearPath
Path state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe pose at this state.The field-centric speeds at this state. -
Constructor Summary
ConstructorsConstructorDescriptionState()Constructs a new path state with zero'd pose and speeds.State(Pose2d pose, ChassisSpeeds speeds) Constructs a new path state. -
Method Summary
-
Field Details
-
pose
The pose at this state. -
speeds
The field-centric speeds at this state.
-
-
Constructor Details
-
State
public State()Constructs a new path state with zero'd pose and speeds. -
State
Constructs a new path state.- Parameters:
pose- The pose at this statespeeds- THe field-centric speeds at this state
-