java.lang.Object
org.firstinspires.ftc.teamcode.fy23.roadrunner.trajectorysequence.TrajectorySequenceRunner

public class TrajectorySequenceRunner extends Object
  • Field Details

    • COLOR_INACTIVE_TRAJECTORY

      public static String COLOR_INACTIVE_TRAJECTORY
    • COLOR_INACTIVE_TURN

      public static String COLOR_INACTIVE_TURN
    • COLOR_INACTIVE_WAIT

      public static String COLOR_INACTIVE_WAIT
    • COLOR_ACTIVE_TRAJECTORY

      public static String COLOR_ACTIVE_TRAJECTORY
    • COLOR_ACTIVE_TURN

      public static String COLOR_ACTIVE_TURN
    • COLOR_ACTIVE_WAIT

      public static String COLOR_ACTIVE_WAIT
    • POSE_HISTORY_LIMIT

      public static int POSE_HISTORY_LIMIT
  • Constructor Details

    • TrajectorySequenceRunner

      public TrajectorySequenceRunner(com.acmerobotics.roadrunner.followers.TrajectoryFollower follower, com.acmerobotics.roadrunner.control.PIDCoefficients headingPIDCoefficients, com.qualcomm.robotcore.hardware.VoltageSensor voltageSensor, List<Integer> lastDriveEncPositions, List<Integer> lastDriveEncVels, List<Integer> lastTrackingEncPositions, List<Integer> lastTrackingEncVels)
  • Method Details

    • followTrajectorySequenceAsync

      public void followTrajectorySequenceAsync(TrajectorySequence trajectorySequence)
    • update

      @Nullable public com.acmerobotics.roadrunner.drive.DriveSignal update(com.acmerobotics.roadrunner.geometry.Pose2d poseEstimate, com.acmerobotics.roadrunner.geometry.Pose2d poseVelocity)
    • getLastPoseError

      public com.acmerobotics.roadrunner.geometry.Pose2d getLastPoseError()
    • isBusy

      public boolean isBusy()