Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACTIVE_AUTO - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Obstacle is active during autonomous (first 15 seconds)
- ACTIVE_ENDGAME - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Obstacle is active during endgame (last 20 seconds)
- ACTIVE_MY_ALLIANCE - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Obstacle is active if it is my alliance's
- ACTIVE_OTHER_ALLIANCE - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Obstacle is active if it is the other alliance's
- ACTIVE_TELE - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Obstacle is active during teleop
- ActiveAutoModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that keeps the obstacle active during the autonomous period
- ActiveAutoModifier() - Constructor for class me.nabdev.pathfinding.modifiers.ActiveAutoModifier
- ActiveEndgameModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that keeps the obstacle active during the endgame period
- ActiveEndgameModifier() - Constructor for class me.nabdev.pathfinding.modifiers.ActiveEndgameModifier
- ActiveMyAllianceModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that keeps the obstacle active if it is the same alliance as the robot
- ActiveMyAllianceModifier(ModifierCollection) - Constructor for class me.nabdev.pathfinding.modifiers.ActiveMyAllianceModifier
-
Creates a new ActiveMyAllianceModifier
- ActiveOtherAllianceModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that keeps the obstacle active if it is not the same alliance as the robot
- ActiveOtherAllianceModifier(ModifierCollection) - Constructor for class me.nabdev.pathfinding.modifiers.ActiveOtherAllianceModifier
-
Creates a new ActiveOtherAllianceModifier
- ActiveTeleModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that keeps the obstacle active during the teleop period, not including endgame
- ActiveTeleModifier() - Constructor for class me.nabdev.pathfinding.modifiers.ActiveTeleModifier
- add(Vector) - Method in class me.nabdev.pathfinding.structures.Vector
-
Add two vectors
- add(Vertex) - Method in class me.nabdev.pathfinding.structures.PathSegment
-
Add a vertex to the segment.
- add(Vertex) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Add a vertex to this vertex
- addPath(Path) - Method in class me.nabdev.pathfinding.structures.Path
-
Add a path to the end of this path, to be used BEFORE processing the path.
- ALWAYS_ACTIVE - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Obstacle is always active
- AlwaysActiveModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that keeps the obstacle active at all times
- AlwaysActiveModifier() - Constructor for class me.nabdev.pathfinding.modifiers.AlwaysActiveModifier
- AndBoolean - Class in me.nabdev.pathfinding.autos.booleans
-
An auto boolean that returns true if all of its children are true
- AndBoolean() - Constructor for class me.nabdev.pathfinding.autos.booleans.AndBoolean
- asPose2d() - Method in class me.nabdev.pathfinding.structures.Vertex
-
Get a pose2d representation of the current Vertex
- asPose2dList() - Method in class me.nabdev.pathfinding.structures.Path
-
Get the path as a Pose2d ArrayList.
- Astar - Class in me.nabdev.pathfinding.algorithms
-
A class to represent all the logic behind the A* pathfinding algorithm.
- Astar(Pathfinder) - Constructor for class me.nabdev.pathfinding.algorithms.Astar
-
Creates a new Astar object.
- ASTAR - Enum constant in enum class me.nabdev.pathfinding.algorithms.SearchAlgorithm.SearchAlgorithmType
-
The A* search algorithm.
- asTrajectory(TrajectoryConfig) - Method in class me.nabdev.pathfinding.structures.Path
-
Get the path as a Trajectory.
- AUTO - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.MatchPhase
-
Represents autonomous (first 15 seconds)
- AutoBoolean - Interface in me.nabdev.pathfinding.autos
-
Represents a way of conditionally running commands in an auto group.
- AutoGroup - Interface in me.nabdev.pathfinding.autos
-
Represents a way of sequencing commands in an auto
- AutoParser - Class in me.nabdev.pathfinding.autos
-
Converts json autos to commands which can be scheduled.
- AutoParser() - Constructor for class me.nabdev.pathfinding.autos.AutoParser
- average(Vector) - Method in class me.nabdev.pathfinding.structures.Vector
-
Calculate the average of this vector and another vector
- average(Vertex) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Average this vertex with another vertex
B
- BLUE_ALLIANCE - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Marks the obstacle as the blue alliance's, does not affect if it is active unless ACTIVE_MY_ALLIANCE/ACTIVE_OTHER_ALLIANCE is also applied
- BlueAllianceModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that denotes the obstacle as the blue alliance's
- BlueAllianceModifier() - Constructor for class me.nabdev.pathfinding.modifiers.BlueAllianceModifier
- build() - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Builds the
Pathfinder
C
- calculateDynamicVisibilityGraph(ArrayList<Vertex>, boolean) - Method in class me.nabdev.pathfinding.structures.Map
-
Calculates the neighbors of the non-static path vertices.
- calculateNearestPoint(Vertex) - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Calculates the nearest point on the obstacle to the given vertex.
- calculateNearestPoint(Vertex) - Method in class me.nabdev.pathfinding.structures.ObstacleGroup
-
Returns the closest point on the obstacles to the given vertex.
- calculateNearestPointFromInside(Vertex) - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Calculates the nearest point on the obstacle to the given vertex, assuming the given vertex is inside the obstacle
- calculateNormal() - Method in class me.nabdev.pathfinding.structures.Vector
-
Calculate the normal (perpendicular) of this vector (-y, x)
- calculateNormalWithRespectToShape(Vertex, Vertex, Vertex) - Static method in class me.nabdev.pathfinding.structures.Vector
-
Calculate the normal, but invert if the normal is not facing away from the shape center
- calculateRayIntersection(Vertex, Vector, Vertex, Vector) - Static method in class me.nabdev.pathfinding.structures.Vector
-
Calculate the intersection of two rays, given their starting points and directions.
- calculateStaticNeighbors(ArrayList<Vertex>, ArrayList<Edge>, ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.structures.Map
-
Calculates the neighbors of the static path vertices (regenerates cached visibility graph) Will save the neighbors to the vertices themselves.
- CHARGED_UP_2023 - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.Field
-
The 2023 field (Charged Up)
- checkPathVertices(ArrayList<Vertex>, ArrayList<Obstacle>) - Method in class me.nabdev.pathfinding.structures.Map
-
Check all obstacle vertices to see if they are outside of field bounds or inside of another obstacle, in which case, mark them to be skipped during visibility graph generation.
- clearance() - Method in class me.nabdev.pathfinding.Pathfinder
-
How far to inflate obstacles
- compareTo(Vertex) - Method in class me.nabdev.pathfinding.structures.Vertex
- connection - Variable in class me.nabdev.pathfinding.structures.Vertex
-
Used with A*.
- containsVertex(int) - Method in class me.nabdev.pathfinding.structures.Edge
-
Check if an index is contained in the edge.
- containsVertex(Vertex, ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.structures.Edge
-
Check if a vertex is contained in the edge, used when the index is not known.
- corner - Variable in class me.nabdev.pathfinding.structures.PathSegment
-
Whether or not this segment is a corner.
- createObstacle(Vertex...) - Static method in class me.nabdev.pathfinding.structures.Obstacle
-
Create and initializes a new obstacle from the given vertices with the AlWAYS_ACTIVE modifier.
- createVectorFrom(Vertex) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Create a vector to this vertex from a starting vertex
- createVectorTo(Vertex) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Create a vector from this vertex to an ending vertex
- CRESCENDO_2024 - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.Field
-
The 2024 field (Crescendo)
- crossProduct(Vector) - Method in class me.nabdev.pathfinding.structures.Vector
-
Calculate the cross product of this vector and another vector
- CURVE - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.CornerCutting
-
Bezier curve that cuts the corner.
D
- DeadlineGroup - Class in me.nabdev.pathfinding.autos.groups
-
An auto group that only finishes when the first command in the array finishes.
- DeadlineGroup() - Constructor for class me.nabdev.pathfinding.autos.groups.DeadlineGroup
- DEBUG_FIELD - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.Field
-
A debug field for testing
- distance(Pose2d) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Get the euclidian distance between this vertex and a pose (Pythagorean theorem)
- distance(Vertex) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Get the euclidian distance between this vertex and another vertex (Pythagorean theorem)
- dotIntersect(Vertex, Vertex, Vertex, Vertex) - Static method in class me.nabdev.pathfinding.structures.Vector
-
Deprecated.
- dotIntersectFast(Vertex, Vertex, Vertex, Vertex) - Static method in class me.nabdev.pathfinding.structures.Vector
-
Whether or not the line segment from d1 to d2 intersects the line segment from c1 to c2
- dotProduct(Vector) - Method in class me.nabdev.pathfinding.structures.Vector
-
Calculate the dot product of this vector and another vector
- DriverStationWrapper - Class in me.nabdev.pathfinding.utilities
-
A wrapper class for the DriverStation class that allows for the use of the DriverStation class in an environment where wpiHalJNI is unavailable (I.E.
- DriverStationWrapper() - Constructor for class me.nabdev.pathfinding.utilities.DriverStationWrapper
- dynamicNeighbors - Variable in class me.nabdev.pathfinding.structures.Vertex
-
All of the dynamic neighbors of this vertex in the visibility graph
E
- Edge - Class in me.nabdev.pathfinding.structures
-
Edge class, used to represent an edge between two vertices.
- Edge(int, int) - Constructor for class me.nabdev.pathfinding.structures.Edge
-
Constructor for the Edge class.
- Edge(int, int, ModifierCollection) - Constructor for class me.nabdev.pathfinding.structures.Edge
-
Constructor for the Edge class.
- edges - Variable in class me.nabdev.pathfinding.utilities.FieldLoader.ObstacleData
-
The edges of the obstacle.
- EMPTY_FIELD - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.Field
-
A field with no obstacles
- end() - Method in class me.nabdev.pathfinding.structures.Path
-
Get the last vertex in the path (not including the target vertex)
- end() - Method in class me.nabdev.pathfinding.structures.PathSegment
-
Get the last vertex in the segment.
- ENDGAME - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.MatchPhase
-
Represents endgame (for 2024, last 20 seconds)
- ensureNotNaN(String) - Method in class me.nabdev.pathfinding.structures.Vector
-
Check if any component of this vector is NaN
- eps - Static variable in class me.nabdev.pathfinding.structures.Map
-
A small epsilon value that that is used to slightly inflate the path vertices so that points on the same edge can have a valid line of sight.
- equals(Object) - Method in class me.nabdev.pathfinding.structures.Edge
-
Overridden equals method, used to check if two edges are equal.
- equals(Object) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Check if this vertex represents the same spot as another vertex
F
- F() - Method in class me.nabdev.pathfinding.structures.Vertex
-
Used with A*.
- FieldData(ArrayList<Double[]>, ArrayList<FieldLoader.ObstacleData>, double, double) - Constructor for class me.nabdev.pathfinding.utilities.FieldLoader.FieldData
-
Creates a new FieldData
- FieldLoader - Class in me.nabdev.pathfinding.utilities
-
Loads a field from a JSON file
- FieldLoader() - Constructor for class me.nabdev.pathfinding.utilities.FieldLoader
- FieldLoader.CornerCutting - Enum Class in me.nabdev.pathfinding.utilities
- FieldLoader.Field - Enum Class in me.nabdev.pathfinding.utilities
-
The fields that can be loaded
- FieldLoader.FieldData - Class in me.nabdev.pathfinding.utilities
-
Temporary data structure for holding the field data
- FieldLoader.ObstacleData - Class in me.nabdev.pathfinding.utilities
-
Temporary data structure for holding obstacle data
- fieldx - Variable in class me.nabdev.pathfinding.structures.Map
-
The x dimension of the field (meters)
- fieldX - Variable in class me.nabdev.pathfinding.utilities.FieldLoader.FieldData
-
The field's x dimension (meters)
- fieldy - Variable in class me.nabdev.pathfinding.structures.Map
-
The y dimension of the field (meters)
- fieldY - Variable in class me.nabdev.pathfinding.utilities.FieldLoader.FieldData
-
The field's y dimension (meters)
- fromDeployFolder(String) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Load a path from the deploy folder via its display name.
- fromDeployFolderByFilename(String) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Load a path from the deploy folder by its filename
- fromDisk(String) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Load a path from disk
- fromJSON(JSONObject) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Load a path from a JSON object
- fromPose2dArray(ArrayList<Pose2d>) - Static method in class me.nabdev.pathfinding.structures.Vertex
-
Converts an array of Pose2ds to an array of Vertices
G
- G - Variable in class me.nabdev.pathfinding.structures.Vertex
-
Used with A*.
- generatePath(Pose2d, Pose2d) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target poses to be outside of obstacles and generates the best path.
- generatePath(Pose2d, Pose2d, Pathfinder.PathfindSnapMode) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target poses according to the snap mode and generates the best path.
- generatePath(Pose2d, ArrayList<Pose2d>) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices to be outside of obstacles and generates the best path that passes through all waypoints.
- generatePath(Vertex, Vertex) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices to be outside of obstacles and generates the best path.
- generatePath(Vertex, Vertex, Pathfinder.PathfindSnapMode) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices according to the snap mode and generates the best path.
- generatePath(Vertex, Vertex, Pathfinder.PathfindSnapMode, ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices according to the snap mode, calculates visibility graph for dynamic elements, and generates the best path.
- generateTrajectory(Pose2d, Pose2d, TrajectoryConfig) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices to be outside of obstacles and generates the best path as a wpilib trajectory.
- generateTrajectory(Pose2d, Pose2d, Pathfinder.PathfindSnapMode, TrajectoryConfig) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices according to the snap mode and generates the best path a wpilib trajectory.
- generateTrajectory(Pose2d, Pose2d, Pathfinder.PathfindSnapMode, ArrayList<Vertex>, TrajectoryConfig) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices according to the snap mode, calculates visibility graph for dynamic elements, and generates the best path as a wpilib trajectory.
- generateTrajectory(Pose2d, ArrayList<Pose2d>, TrajectoryConfig) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices to be outside of obstacles and generates the best path that passes through all waypoints as a wpilib trajectory.
- generateTrajectory(Pose2d, ArrayList<Pose2d>, Pathfinder.PathfindSnapMode, TrajectoryConfig) - Method in class me.nabdev.pathfinding.Pathfinder
-
Snaps the start and target vertices accoridng to the snap mode the best path that passes through all waypoints as a wpilib trajectory.
- get(int) - Method in class me.nabdev.pathfinding.structures.PathSegment
-
Get a vertex in the segment.
- getAlliance() - Static method in class me.nabdev.pathfinding.utilities.DriverStationWrapper
-
Returns the alliance that the driver station is on.
- getCommand(ArrayList<Command>) - Method in interface me.nabdev.pathfinding.autos.AutoGroup
-
Generate the command from the autogroup
- getCommand(ArrayList<Command>) - Method in class me.nabdev.pathfinding.autos.groups.DeadlineGroup
- getCommand(ArrayList<Command>) - Method in class me.nabdev.pathfinding.autos.groups.ParallelGroup
- getCommand(ArrayList<Command>) - Method in class me.nabdev.pathfinding.autos.groups.RaceGroup
- getCommand(ArrayList<Command>) - Method in class me.nabdev.pathfinding.autos.groups.SequenceGroup
- getCornerDist() - Method in class me.nabdev.pathfinding.Pathfinder
-
How far back along the straightaway to dedicate to making corners
- getCornerPointSpacing() - Method in class me.nabdev.pathfinding.Pathfinder
-
Space between points on corners of the path (percent of the curve length)
- getCornerSplitPercent() - Method in class me.nabdev.pathfinding.Pathfinder
-
How far each corner should move towards the other point if the distance is too short to allow both corners the full corner distance
- getCurrentPhase() - Method in class me.nabdev.pathfinding.modifiers.ObstacleModifier
-
Get the current phase of the match
- getEdges() - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Get all edges in this obstacle.
- getEndgameTime() - Static method in class me.nabdev.pathfinding.Pathfinder
-
Time in seconds when the robot should start to consider endgame obstacles.
- getFinalRot() - Method in class me.nabdev.pathfinding.structures.Path
-
Get rotation at the final point of the path
- getFullPath() - Method in class me.nabdev.pathfinding.structures.Path
-
Get the full path including the start and target vertices.
- getInjectPoints() - Method in class me.nabdev.pathfinding.Pathfinder
-
Whether or not to inject points on straightaways
- getMasterVertices() - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Get all vertices this obstacle knows about.
- getMatchTime() - Static method in class me.nabdev.pathfinding.utilities.DriverStationWrapper
-
Returns whether the Driver Station is currently enabled.
- getModifier(ObstacleModifier.ObstacleModifierTypes, ModifierCollection) - Static method in class me.nabdev.pathfinding.modifiers.ObstacleModifier
-
Get a modifier instance associated with the given type
- getNeighbors() - Method in class me.nabdev.pathfinding.structures.Map
-
Get the neighbors of the vertices of the static obstacles.
- getNeighbors() - Method in class me.nabdev.pathfinding.structures.Vertex
-
Get all of the neighbors of this vertex in the visibility graph
- getNeighborsStatic() - Method in class me.nabdev.pathfinding.structures.Map
-
Get the neighbors of the dynamic vertices.
- getNormalizeCorners() - Method in class me.nabdev.pathfinding.Pathfinder
-
Whether or not to normalize distance between corner points
- getObstacles() - Method in class me.nabdev.pathfinding.structures.Map
-
Get the obstacles for the current map
- getObstacles() - Method in class me.nabdev.pathfinding.structures.ObstacleGroup
-
Returns the obstacles in the group.
- getPathVertices() - Method in class me.nabdev.pathfinding.structures.Map
-
Get the uninflated vertices of the obstacles.
- getPathVerticesStatic() - Method in class me.nabdev.pathfinding.structures.Map
-
Get the inflated vertices of the obstacles.
- getPointSpacing() - Method in class me.nabdev.pathfinding.Pathfinder
-
Space between injected points on straightaways in the path (meters)
- getProfiling() - Method in class me.nabdev.pathfinding.Pathfinder
-
Whether or not to profile the pathfinding process
- getSearchAlgorithmType() - Method in class me.nabdev.pathfinding.Pathfinder
-
The search algorithm to use
- getStart() - Method in class me.nabdev.pathfinding.structures.Path
-
Get the start vertex.
- getSupplier(BooleanSupplier...) - Method in interface me.nabdev.pathfinding.autos.AutoBoolean
-
Get the boolean supplier for this AutoBoolean
- getSupplier(BooleanSupplier...) - Method in class me.nabdev.pathfinding.autos.booleans.AndBoolean
- getSupplier(BooleanSupplier...) - Method in class me.nabdev.pathfinding.autos.booleans.NotBoolean
- getSupplier(BooleanSupplier...) - Method in class me.nabdev.pathfinding.autos.booleans.OrBoolean
- getTarget() - Method in class me.nabdev.pathfinding.structures.Path
-
Get the target vertex.
- getType() - Method in class me.nabdev.pathfinding.modifiers.ActiveAutoModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.ActiveEndgameModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.ActiveMyAllianceModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.ActiveOtherAllianceModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.ActiveTeleModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.AlwaysActiveModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.BlueAllianceModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.ObstacleModifier
-
Get the modifier type of this modifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.RedAllianceModifier
- getType() - Method in class me.nabdev.pathfinding.modifiers.ZoneModifier
- getUnsnappedTarget() - Method in class me.nabdev.pathfinding.structures.Path
-
Get the unsnapped target vertex.
- getValidObstacleEdges() - Method in class me.nabdev.pathfinding.structures.Map
-
Get all obstacle edges which could actually obstruct the robot
- getValidObstacleEdges(ArrayList<Edge>, ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.structures.Map
-
Check all obstacle edges to see if they are completely outside of field bounds, and if they aren't add them to the validObstacleEdges list.
- getVertexOne() - Method in class me.nabdev.pathfinding.structures.Edge
-
Get the index in the obstacleVertices list of the first vertex.
- getVertexOne(ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.structures.Edge
-
Get the first vertex.
- getVertexTwo() - Method in class me.nabdev.pathfinding.structures.Edge
-
Get the index in the obstacleVertices list of the second vertex.
- getVertexTwo(ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.structures.Edge
-
Get the second vertex.
- getVertices() - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Get all vertices in this obstacle.
H
- H - Variable in class me.nabdev.pathfinding.structures.Vertex
-
Used with A*.
- hasModifier(ObstacleModifier.ObstacleModifierTypes) - Method in class me.nabdev.pathfinding.modifiers.ModifierCollection
-
Get whether or not this modifier collection has a specific obstacle modifier
I
- id - Variable in class me.nabdev.pathfinding.structures.Obstacle
-
The id of the obstacle.
- id - Variable in class me.nabdev.pathfinding.utilities.FieldLoader.ObstacleData
-
The id of the obstacle
- ImpossiblePathException - Exception in me.nabdev.pathfinding.structures
-
An exception that is thrown when a path is impossible to find for various reasons.
- ImpossiblePathException(String) - Constructor for exception me.nabdev.pathfinding.structures.ImpossiblePathException
-
Creates a new ImpossiblePathException with the given message.
- initialize(ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Re-initializes the obstacle.
- invalidateCache() - Method in class me.nabdev.pathfinding.modifiers.ModifierCollection
-
Command a re-calculation for if the obstacle is active or not.
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveAutoModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveEndgameModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveMyAllianceModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveOtherAllianceModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveTeleModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.AlwaysActiveModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.BlueAllianceModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ModifierCollection
-
Whether or not the obstacle is active right now based on the modifiers
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ObstacleModifier
-
Whether or not the obstacle is active at this time.
- isActive() - Method in class me.nabdev.pathfinding.modifiers.RedAllianceModifier
- isActive() - Method in class me.nabdev.pathfinding.modifiers.ZoneModifier
- isActive() - Method in class me.nabdev.pathfinding.structures.Edge
-
Whether or not the edge is active right now based on the modifiers
- isAutonomous() - Static method in class me.nabdev.pathfinding.utilities.DriverStationWrapper
-
Returns whether the Driver Station is currently enabled.
- isConvexAndClockwise() - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Checks if the obstacle is convex and clockwise, used to validate the map.
- isInside(Vertex) - Method in class me.nabdev.pathfinding.structures.Obstacle
-
Checks if the given vertex is inside the obstacle.
- isInside(Vertex) - Method in class me.nabdev.pathfinding.structures.ObstacleGroup
-
Checks if a vertex is inside any of the obstacles in the group.
- isRobotInObstacle(ArrayList<Obstacle>, Vertex) - Static method in class me.nabdev.pathfinding.structures.Obstacle
-
Detect if a vertex is inside any obstacle in the list.
- isRobotInObstacle(ArrayList<Obstacle>, Vertex, boolean) - Static method in class me.nabdev.pathfinding.structures.Obstacle
-
Detect if a vertex is inside any obstacle in the list.
- isTeleop() - Static method in class me.nabdev.pathfinding.utilities.DriverStationWrapper
-
Returns whether the Driver Station is currently enabled.
L
- LINE - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.CornerCutting
-
Draw one line that cuts the corner.
- loadAuto(String) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Load an auto from a json file in the deploy directory
- loadAutoFromPath(String) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Load an auto from a json file at the given path
- loadField(String, FieldLoader.CornerCutting) - Static method in class me.nabdev.pathfinding.utilities.FieldLoader
-
Load a field from a file
- loadField(FieldLoader.Field, FieldLoader.CornerCutting) - Static method in class me.nabdev.pathfinding.utilities.FieldLoader
-
Load a field from the resources folder
M
- magnitude() - Method in class me.nabdev.pathfinding.structures.Vector
-
Calculate the magnitude of this vector
- map - Variable in class me.nabdev.pathfinding.Pathfinder
-
The map this pathfinder will use
- Map - Class in me.nabdev.pathfinding.structures
-
Represents all the obstacles on the map as well as the visibility graph that the robot can use to navigate.
- Map(ArrayList<Obstacle>, ArrayList<Vertex>, ArrayList<Edge>, double, double, double) - Constructor for class me.nabdev.pathfinding.structures.Map
-
Create a new map with the given obstacles, vertices, and clearance parameter.
- me.nabdev.pathfinding - package me.nabdev.pathfinding
- me.nabdev.pathfinding.algorithms - package me.nabdev.pathfinding.algorithms
- me.nabdev.pathfinding.autos - package me.nabdev.pathfinding.autos
- me.nabdev.pathfinding.autos.booleans - package me.nabdev.pathfinding.autos.booleans
- me.nabdev.pathfinding.autos.groups - package me.nabdev.pathfinding.autos.groups
- me.nabdev.pathfinding.modifiers - package me.nabdev.pathfinding.modifiers
- me.nabdev.pathfinding.structures - package me.nabdev.pathfinding.structures
- me.nabdev.pathfinding.utilities - package me.nabdev.pathfinding.utilities
- ModifierCollection - Class in me.nabdev.pathfinding.modifiers
-
Represents all the modifiers added to a single obstacle
- ModifierCollection(JSONArray) - Constructor for class me.nabdev.pathfinding.modifiers.ModifierCollection
-
Create a new modifer collection and apply the given modifiers
- modifiers - Variable in class me.nabdev.pathfinding.structures.Obstacle
-
The modifiers on this obstacle.
- modifiers - Variable in class me.nabdev.pathfinding.utilities.FieldLoader.ObstacleData
-
The modifiers on this obstacle
- moveByVector(Vector) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Move this vertex by a vector (add the vector to the vertex)
N
- NONE - Enum constant in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
No snapping.
- NONE - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.CornerCutting
-
Do not cut corners.
- normalize() - Method in class me.nabdev.pathfinding.structures.Vector
-
Normalize this vector
- NotBoolean - Class in me.nabdev.pathfinding.autos.booleans
-
An auto boolean that returns true if its child is false
- NotBoolean() - Constructor for class me.nabdev.pathfinding.autos.booleans.NotBoolean
O
- Obstacle - Class in me.nabdev.pathfinding.structures
-
Represents an obstacle on the map.
- Obstacle(ArrayList<Vertex>, ArrayList<Edge>, String) - Constructor for class me.nabdev.pathfinding.structures.Obstacle
-
Creates a new obstacle with the always active modifier.
- Obstacle(ArrayList<Vertex>, ArrayList<Edge>, String, ModifierCollection) - Constructor for class me.nabdev.pathfinding.structures.Obstacle
-
Creates a new obstacle.
- ObstacleData(ArrayList<Integer[]>, String, ModifierCollection) - Constructor for class me.nabdev.pathfinding.utilities.FieldLoader.ObstacleData
-
Creates a new ObstacleData
- ObstacleGroup - Class in me.nabdev.pathfinding.structures
-
Represents a group of obstacles, which can be used as a janky way to represent concave obstacles.
- ObstacleGroup(Obstacle...) - Constructor for class me.nabdev.pathfinding.structures.ObstacleGroup
-
Creates a new obstacle group.
- ObstacleModifier - Class in me.nabdev.pathfinding.modifiers
-
Represents a modifier that changes when obstacles are active
- ObstacleModifier() - Constructor for class me.nabdev.pathfinding.modifiers.ObstacleModifier
- ObstacleModifier.MatchPhase - Enum Class in me.nabdev.pathfinding.modifiers
-
Enum to represent which phase of the match we are currently in.
- ObstacleModifier.ObstacleModifierTypes - Enum Class in me.nabdev.pathfinding.modifiers
-
All available obstacle modifiers
- obstacles - Variable in class me.nabdev.pathfinding.utilities.FieldLoader.FieldData
-
The obstacles of the field.
- OrBoolean - Class in me.nabdev.pathfinding.autos.booleans
-
An auto boolean that returns true if any of its children are true
- OrBoolean() - Constructor for class me.nabdev.pathfinding.autos.booleans.OrBoolean
- OrderedJSONObject - Class in me.nabdev.pathfinding.utilities
-
I hate that this class has to exist, and I'm sorry I wrote it.
- OrderedJSONObject() - Constructor for class me.nabdev.pathfinding.utilities.OrderedJSONObject
-
Creates a new OrderedJSONObject
- originx - Static variable in class me.nabdev.pathfinding.structures.Map
-
The x coordinate of the origin of the field (meters) Used to compute if a point is inside of the field bounds.
- originy - Static variable in class me.nabdev.pathfinding.structures.Map
-
The y coordinate of the origin of the field (meters) Used to compute if a point is inside of the field bounds.
P
- ParallelGroup - Class in me.nabdev.pathfinding.autos.groups
-
An AutoGroup that finishes when all commands finish
- ParallelGroup() - Constructor for class me.nabdev.pathfinding.autos.groups.ParallelGroup
- parseAuto(JSONArray) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Parse an auto from a JSONArray and return a command to run.
- parseBoolean(JSONObject) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Parse a BooleanSupplier from a JSONObject that represents an AutoBoolean
- Path - Class in me.nabdev.pathfinding.structures
-
A Path is a list of Vertices that represent a path from a start point to a target point.
- Path(Vertex, Vertex, ArrayList<Vertex>) - Constructor for class me.nabdev.pathfinding.structures.Path
-
Creates a new Path with the given start and target vertices and the given
- Path(Vertex, Vertex, Pathfinder) - Constructor for class me.nabdev.pathfinding.structures.Path
-
Creates a new Path with the given start and target vertices.
- Pathfinder - Class in me.nabdev.pathfinding
-
The main pathfinder class, and the only one you should need to interact with.
- Pathfinder(FieldLoader.FieldData, double, double, double, double, double, boolean, boolean, SearchAlgorithm.SearchAlgorithmType, boolean, double) - Constructor for class me.nabdev.pathfinding.Pathfinder
-
Create a new pathfinder.
- Pathfinder.PathfindSnapMode - Enum Class in me.nabdev.pathfinding
-
Determines how vertices will be snapped to the nearest obstacle edge if they are inside of an obstacle.
- PathfinderBuilder - Class in me.nabdev.pathfinding
-
Builder class for
Pathfinder
- PathfinderBuilder(String) - Constructor for class me.nabdev.pathfinding.PathfinderBuilder
-
Creates a new PathfinderBuilder with the given field json map.
- PathfinderBuilder(FieldLoader.Field) - Constructor for class me.nabdev.pathfinding.PathfinderBuilder
-
Creates a new PathfinderBuilder with the given
FieldLoader.Field
- PathSegment - Class in me.nabdev.pathfinding.structures
-
Represents one segment of a path.
- PathSegment() - Constructor for class me.nabdev.pathfinding.structures.PathSegment
-
Creates a new corner segment.
- PathSegment(Vertex, Vertex) - Constructor for class me.nabdev.pathfinding.structures.PathSegment
-
Creates a new straightaway segment.
- PathSerializer - Class in me.nabdev.pathfinding.utilities
-
Serializes and deserializes paths to and from JSON
- PathSerializer() - Constructor for class me.nabdev.pathfinding.utilities.PathSerializer
- periodic() - Method in class me.nabdev.pathfinding.Pathfinder
-
Updates the modifier cache based on data from the driver station and wpilib.
- points - Variable in class me.nabdev.pathfinding.structures.PathSegment
-
The points that make up this segment.
- processPath(Pathfinder.PathfindSnapMode) - Method in class me.nabdev.pathfinding.structures.Path
-
Apply all processing to the path to prepare it for use.
R
- RaceGroup - Class in me.nabdev.pathfinding.autos.groups
-
An AutoGroup that finishes when any command finishes.
- RaceGroup() - Constructor for class me.nabdev.pathfinding.autos.groups.RaceGroup
- RED_ALLIANCE - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Marks the obstacle as the red alliance's, does not affect if it is active unless ACTIVE_MY_ALLIANCE/ACTIVE_OTHER_ALLIANCE is also applied
- RedAllianceModifier - Class in me.nabdev.pathfinding.modifiers
-
A modifier that denotes the obstacle as the red alliance's
- RedAllianceModifier() - Constructor for class me.nabdev.pathfinding.modifiers.RedAllianceModifier
- REEFSCAPE_2025 - Enum constant in enum class me.nabdev.pathfinding.utilities.FieldLoader.Field
-
The 2025 field (Reefscape)
- regenerateVisibilityGraph() - Method in class me.nabdev.pathfinding.structures.Map
-
Regenerates the visibility graph with the current path vertices and obstacles.
- registerBoolean(String, Function<JSONObject, AutoBoolean>) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Register a boolean to use in autos.
- registerCommand(String, Function<JSONObject, Command>) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Register a command which can be used in the autos.
- registerGroupType(String, AutoGroup) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Add a group type to use in autos.
- registerMacro(String, String) - Static method in class me.nabdev.pathfinding.autos.AutoParser
-
Register a macro to use in autos.
- replace(ArrayList<Vertex>) - Method in class me.nabdev.pathfinding.structures.PathSegment
-
Replace the points in the segment with a new set of points.
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveAutoModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveEndgameModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveMyAllianceModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveOtherAllianceModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.ActiveTeleModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.AlwaysActiveModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.BlueAllianceModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.ObstacleModifier
-
Whether or not this modifier MUST be active to have the obstacle active.
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.RedAllianceModifier
- requiredForActive() - Method in class me.nabdev.pathfinding.modifiers.ZoneModifier
- rotate(double) - Method in class me.nabdev.pathfinding.structures.Vector
-
Rotate this vector by a given angle
- rotation - Variable in class me.nabdev.pathfinding.structures.Vertex
-
The rotation of the vertex
- run(Vertex, Vertex) - Method in class me.nabdev.pathfinding.algorithms.Astar
-
Runs the A* algorithm.
- run(Vertex, Vertex) - Method in interface me.nabdev.pathfinding.algorithms.SearchAlgorithm
-
Finds a path from the start to the end.
S
- scale(double) - Method in class me.nabdev.pathfinding.structures.Vector
-
Scale this vector by a factor (To set a specific magnitude, use normalize() first)
- SearchAlgorithm - Interface in me.nabdev.pathfinding.algorithms
-
An interface that represents a search algorithm (like A*)
- SearchAlgorithm.SearchAlgorithmType - Enum Class in me.nabdev.pathfinding.algorithms
-
The different types of search algorithms available.
- SequenceGroup - Class in me.nabdev.pathfinding.autos.groups
-
SequenceGroup is an AutoGroup that runs commands in sequence.
- SequenceGroup() - Constructor for class me.nabdev.pathfinding.autos.groups.SequenceGroup
- setCornerCuttingType(FieldLoader.CornerCutting) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the corner cutting type to use (See
FieldLoader.CornerCutting
for more info) - setCornerDist(double) - Method in class me.nabdev.pathfinding.Pathfinder
-
How far back along the straightaway to dedicate to making corners
- setCornerDist(double) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the corner distance (how far back along the straightaway to dedicate to making corners)
- setCornerPointSpacing(double) - Method in class me.nabdev.pathfinding.Pathfinder
-
Space between points on corners of the path (percent of the curve length)
- setCornerPointSpacing(double) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the corner point spacing (space between points on curves when generating paths)
- setCornerSplitPercent(double) - Method in class me.nabdev.pathfinding.Pathfinder
-
How far each corner should move towards the other point if the distance is too short to allow both corners the full corner distance
- setCornerSplitPercent(double) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the corner split percent (how far each bezier curve should move towards the other point if the distance is too short to allow both corners the full corner distance)
- setEndgameTime(double) - Static method in class me.nabdev.pathfinding.Pathfinder
-
Time in seconds when the robot should start to consider endgame obstacles.
- setEndgameTime(double) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the endgame time (time in seconds when the robot should start to consider endgame obstacles).
- setInjectPoints(boolean) - Method in class me.nabdev.pathfinding.Pathfinder
-
Whether or not to inject points on straightaways
- setInjectPoints(boolean) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets whether or not to inject points (add points in the middle of straightaways, useful for certain path following algorithms)
- setNormalizeCorners(boolean) - Method in class me.nabdev.pathfinding.Pathfinder
-
Whether or not to normalize distance between corner points
- setNormalizeCorners(boolean) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets whether or not to normalize corners (make sure that corner points are spaced evenly).
- setPointSpacing(double) - Method in class me.nabdev.pathfinding.Pathfinder
-
Space between injected points on straightaways in the path (meters)
- setPointSpacing(double) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the point spacing (space between injected points on straightaways when generating paths)
- setProfiling(boolean) - Method in class me.nabdev.pathfinding.Pathfinder
-
Whether or not to profile the pathfinding process
- setProfiling(boolean) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets whether or not to profile the pathfinder (Output path gen time to smartdashboard)
- setRobotLength(double) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the robot length in meters (used to calculate the clearance)
- setRobotWidth(double) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the robot width in meters (used to calculate the clearance)
- setSearchAlgorithmType(SearchAlgorithm.SearchAlgorithmType) - Method in class me.nabdev.pathfinding.Pathfinder
-
The search algorithm to use
- setSearchAlgorithmType(SearchAlgorithm.SearchAlgorithmType) - Method in class me.nabdev.pathfinding.PathfinderBuilder
-
Sets the search algorithm type to use
- setUnsnappedTarget(Vertex) - Method in class me.nabdev.pathfinding.structures.Path
-
Set the original unsnapped target vertex (the target vertex before it was snapped to be outside of all obstacles).
- SNAP_ALL - Enum constant in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
Snap start and target vertices
- SNAP_ALL_THEN_LINE - Enum constant in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
Deprecated.Can create very sharp corners as it just draws a straight line, not recommended. Instead, use
Path.getUnsnappedTarget()
and handle moving there yourself after you follow the path if you need to. This may be replaced with a better solution in the future. - SNAP_START - Enum constant in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
Snap start vertex
- SNAP_TARGET - Enum constant in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
Snap target vertex
- SNAP_TARGET_THEN_LINE - Enum constant in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
Deprecated.Can create very sharp corners as it just draws a straight line, not recommended. Instead, use
Path.getUnsnappedTarget()
and handle moving there yourself after you follow the path if you need to. This may be replaced with a better solution in the future. - snapMode - Variable in class me.nabdev.pathfinding.structures.Path
-
The snap mode used to create this path.
- start() - Method in class me.nabdev.pathfinding.structures.PathSegment
-
Get the first vertex in the segment.
- staticNeighbors - Variable in class me.nabdev.pathfinding.structures.Vertex
-
All of the static neighbors of this vertex in the visibility graph
- subtract(Vector) - Method in class me.nabdev.pathfinding.structures.Vector
-
Subtract two vectors
- subtract(Vertex) - Method in class me.nabdev.pathfinding.structures.Vertex
-
Subtract a vertex from this vertex
T
- TELE - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.MatchPhase
-
Represents teleop (between auto and tele, 1 min 55 seconds in 2024)
- toDeployFolder(Path, String) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Save a path to the deploy folder
- toDeployFolder(Path, String, String) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Save a path to the deploy folder
- toDisk(String, Path, String) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Save a path to disk
- toDoubleArray() - Method in class me.nabdev.pathfinding.structures.Path
-
Get the path as a double array [x, y, rotation, x, y, rotation, ...].
- toJSON(Path, String) - Static method in class me.nabdev.pathfinding.utilities.PathSerializer
-
Save a path to a JSON object
- toString() - Method in class me.nabdev.pathfinding.structures.Vector
-
Get a string representation of this vector
- toString() - Method in class me.nabdev.pathfinding.structures.Vertex
-
Get a string representation of the vertex
V
- validVisibility - Variable in class me.nabdev.pathfinding.structures.Vertex
-
This will be set to false if the point is inside of an obstacle or outside of the field bounds, since the robot could never be there.
- valueOf(String) - Static method in enum class me.nabdev.pathfinding.algorithms.SearchAlgorithm.SearchAlgorithmType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.MatchPhase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.nabdev.pathfinding.utilities.FieldLoader.CornerCutting
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.nabdev.pathfinding.utilities.FieldLoader.Field
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.nabdev.pathfinding.algorithms.SearchAlgorithm.SearchAlgorithmType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.MatchPhase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.nabdev.pathfinding.Pathfinder.PathfindSnapMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.nabdev.pathfinding.utilities.FieldLoader.CornerCutting
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.nabdev.pathfinding.utilities.FieldLoader.Field
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector - Class in me.nabdev.pathfinding.structures
-
Class to represent a two dimensional vector
- Vector(double, double) - Constructor for class me.nabdev.pathfinding.structures.Vector
-
Creates a new vector with the given x and y components
- VERSION - Static variable in class me.nabdev.pathfinding.utilities.PathSerializer
-
The current JSON format version, used to ensure that the JSON is compatible.
- Vertex - Class in me.nabdev.pathfinding.structures
-
Represents a point in 2D space
- Vertex(double, double) - Constructor for class me.nabdev.pathfinding.structures.Vertex
-
Creates a new Vertex from an x and y coordinate, initialized with a rotation of 0
- Vertex(double, double, double) - Constructor for class me.nabdev.pathfinding.structures.Vertex
-
Creates a new Vertex from an x and y coordinate and a rotation
- Vertex(double, double, Rotation2d) - Constructor for class me.nabdev.pathfinding.structures.Vertex
-
Creates a new Vertex from an x and y coordinate and a rotation
- Vertex(Pose2d) - Constructor for class me.nabdev.pathfinding.structures.Vertex
-
Creates a new Vertex from a Pose2d
- Vertex(Translation2d) - Constructor for class me.nabdev.pathfinding.structures.Vertex
-
Creates a new Vertex from a Translation2d with a rotation of 0
- Vertex(Translation2d, double) - Constructor for class me.nabdev.pathfinding.structures.Vertex
-
Creates a new Vertex from a Translation2d with a rotation of 0
- Vertex(Translation2d, Rotation2d) - Constructor for class me.nabdev.pathfinding.structures.Vertex
-
Creates a new Vertex from a Translation2d with a rotation of 0
- vertices - Variable in class me.nabdev.pathfinding.utilities.FieldLoader.FieldData
-
The vertices of the field.
- visualizeEdges() - Method in class me.nabdev.pathfinding.Pathfinder
-
Intended for use with our custom advantagescope fork for debugging new fields.
- visualizeInflatedVertices() - Method in class me.nabdev.pathfinding.Pathfinder
-
Intended for use with our custom advantagescope fork for debugging new fields.
- visualizeNeighbors() - Method in class me.nabdev.pathfinding.Pathfinder
-
Intended for use with our custom advantagescope fork for debugging the visibility graph.
- visualizePathVertices() - Method in class me.nabdev.pathfinding.Pathfinder
-
Intended for use with our custom advantagescope fork for debugging the visibility graph.
- visualizeVertices() - Method in class me.nabdev.pathfinding.Pathfinder
-
Intended for use with our custom advantagescope fork for debugging new fields.
X
- x - Variable in class me.nabdev.pathfinding.structures.Vector
-
The x component of the vector
- x - Variable in class me.nabdev.pathfinding.structures.Vertex
-
The x coordinate of the vertex
Y
- y - Variable in class me.nabdev.pathfinding.structures.Vector
-
The y component of the vector
- y - Variable in class me.nabdev.pathfinding.structures.Vertex
-
The y coordinate of the vertex
Z
- zero() - Method in class me.nabdev.pathfinding.structures.Vector
-
Check if this vector has zero x and y components
- ZONE_MODIFIER - Enum constant in enum class me.nabdev.pathfinding.modifiers.ObstacleModifier.ObstacleModifierTypes
-
Marks the obstacle as a zone.
- ZoneModifier - Class in me.nabdev.pathfinding.modifiers
-
Marks the obstacle as a zone.
- ZoneModifier() - Constructor for class me.nabdev.pathfinding.modifiers.ZoneModifier
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Vector.dotIntersectFast(me.nabdev.pathfinding.structures.Vertex, me.nabdev.pathfinding.structures.Vertex, me.nabdev.pathfinding.structures.Vertex, me.nabdev.pathfinding.structures.Vertex)
instead.