Class Trajectory


  • public class Trajectory
    extends java.lang.Object
    Represents a list of CTRE TrajectoryPoints for a cumulative drive path.
    • Constructor Summary

      Constructors 
      Constructor Description
      Trajectory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.ArrayList<com.ctre.phoenix.motion.TrajectoryPoint> getTalonPoints()
      Returns the TrajectoryPoints.
      void setTalonPoints​(java.util.ArrayList<com.ctre.phoenix.motion.TrajectoryPoint> p_points)
      Set the TrajectoryPoints.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Trajectory

        public Trajectory()
    • Method Detail

      • setTalonPoints

        public void setTalonPoints​(java.util.ArrayList<com.ctre.phoenix.motion.TrajectoryPoint> p_points)
        Set the TrajectoryPoints.
        Parameters:
        p_points - ArrayList of TrajectoryPoints.
      • getTalonPoints

        public java.util.ArrayList<com.ctre.phoenix.motion.TrajectoryPoint> getTalonPoints()
        Returns the TrajectoryPoints.
        Returns:
        ArrayList of TrajectoryPoints.