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 velocity at this state. -
Constructor Summary
ConstructorsConstructorDescriptionState()Constructs a new path state with zero'd pose and velocity.State(Pose2d pose, ChassisVelocities velocity) Constructs a new path state. -
Method Summary
-
Field Details
-
pose
The pose at this state. -
velocity
The field-centric velocity at this state.
-
-
Constructor Details
-
State
public State()Constructs a new path state with zero'd pose and velocity. -
State
Constructs a new path state.- Parameters:
pose- The pose at this statevelocity- THe field-centric velocity at this state
-