Class PathfinderOptions

java.lang.Object
me.wobblyyyy.pathfinder.config.PathfinderOptions

public class PathfinderOptions
extends java.lang.Object
Abstraction of the PathfinderConfig class designed to make life a little bit easier and those parameters a little bit less grouped together.
Since:
0.3.0
Author:
Colin Robertson
  • Field Details

  • Constructor Details

    • PathfinderOptions

      public PathfinderOptions()
      Create a new PathfinderOptions instance.

      All of the options are configured using the provided methods in this class, NOT right here. You can put these methods in an anonymous class initializer - very epic!

  • Method Details

    • setRobotX

      public void setRobotX​(double x)
    • setRobotY

      public void setRobotY​(double y)
    • setFieldX

      public void setFieldX​(double x)
    • setFieldY

      public void setFieldY​(double y)
    • setMap

      public void setMap​(Map map)
    • setRobotProfile

      public void setRobotProfile​(RobotProfile profile)
    • setOdometry

      public void setOdometry​(Odometry odometry)
    • setDrive

      public void setDrive​(Drive drive)
    • setFollowerType

      public void setFollowerType​(Followers follower)
    • setSpeed

      public void setSpeed​(double speed)
    • setGapX

      public void setGapX​(double x)
    • setGapY

      public void setGapY​(double y)
    • build

      public PathfinderConfig build()