Package com.crossbotics.ftchelper.drive
Interface RouteDriver.LineCheck
- Enclosing class:
RouteDriver
public static interface RouteDriver.LineCheck
Says if a straight line on the field is clear.
FieldMap.lineIsClear(double, double, double, double) is one.-
Method Summary
Modifier and TypeMethodDescriptionbooleanisClear(double x1, double y1, double x2, double y2) True if the robot's center may drive straight from (x1, y1) to (x2, y2), inches.
-
Method Details
-
isClear
boolean isClear(double x1, double y1, double x2, double y2) True if the robot's center may drive straight from (x1, y1) to (x2, y2), inches.
-