Class SN_MotionProfile

java.lang.Object
com.frcteam3255.utils.SN_MotionProfile

public class SN_MotionProfile extends Object
  • Field Details

    • pointsLeft

      public com.ctre.phoenix.motion.BufferedTrajectoryPointStream pointsLeft
    • pointsRight

      public com.ctre.phoenix.motion.BufferedTrajectoryPointStream pointsRight
  • Constructor Details

    • SN_MotionProfile

      public SN_MotionProfile(String a_leftName, String a_rightName)
  • Method Details

    • reload

      public void reload()
    • setSensorUnitsPerTick

      public static void setSensorUnitsPerTick(double a_sensorUnitsPerTick)
    • count

      public static int count(String filename) throws IOException
      Throws:
      IOException
    • initBuffer

      public static void initBuffer(com.ctre.phoenix.motion.BufferedTrajectoryPointStream bufferedStream, double[][] profile, int totalCnt)
    • reader

      public static double[][] reader(String fileName) throws IOException
      Throws:
      IOException