Class LinearPath.State

java.lang.Object
com.ctre.phoenix6.swerve.utility.LinearPath.State
Enclosing class:
LinearPath

public static class LinearPath.State extends Object
Path state.
  • Field Details

    • pose

      public Pose2d pose
      The pose at this state.
    • velocity

      public ChassisVelocities 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

      public State(Pose2d pose, ChassisVelocities velocity)
      Constructs a new path state.
      Parameters:
      pose - The pose at this state
      velocity - THe field-centric velocity at this state