Class Path


  • public class Path
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Path​(double smoothness, edu.wpi.first.wpilibj.geometry.Pose2d... waypoints)
      Create a motion path from points
      Path​(edu.wpi.first.wpilibj.geometry.Pose2d... waypoints)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Path

        public Path​(edu.wpi.first.wpilibj.geometry.Pose2d... waypoints)
      • Path

        public Path​(double smoothness,
                    edu.wpi.first.wpilibj.geometry.Pose2d... waypoints)
        Create a motion path from points
        Parameters:
        smoothness - Path smoothness (Should be between 0 and 1)
        waypoints - Path waypoints to follow