Class SquareFieldObstacle
java.lang.Object
xbot.common.subsystems.pose.RectangleFieldObstacle
xbot.common.subsystems.pose.SquareFieldObstacle
- All Implemented Interfaces:
IFieldObstacle
Square obstacle defined by center + half extent.
-
Field Summary
Fields inherited from class RectangleFieldObstacle
center, halfHeight, halfWidth -
Constructor Summary
ConstructorsConstructorDescriptionSquareFieldObstacle(org.wpilib.math.geometry.Translation2d center, org.wpilib.units.measure.Distance halfWidth, boolean isToughTerrain) -
Method Summary
Methods inherited from class RectangleFieldObstacle
avoidanceRadius, center, doesRobotPathIntersect, getHalfHeight, getHalfWidth, isToughTerrain
-
Constructor Details
-
SquareFieldObstacle
public SquareFieldObstacle(org.wpilib.math.geometry.Translation2d center, org.wpilib.units.measure.Distance halfWidth, boolean isToughTerrain)
-