Class Context
java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.stateMachineController.Context
-
Field Summary
Modifier and TypeFieldDescription(package private) boolean
(package private) boolean
(package private) double[]
(package private) Obstacle[]
(package private) byte
(package private) boolean
(package private) boolean
(package private) boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
boolean
double[]
byte
boolean
boolean
boolean
double
getX()
double
getY()
void
setDirection
(double direction) void
setInIntakePosition
(boolean inIntakePosition) void
setInScoringPosition
(boolean inScoringPosition) void
setLocation
(double x, double y) void
setLocation
(double x, double y, double direction) void
setPixelsInControl
(byte pixelsInControl) void
setRobotParked
(boolean robotParked) void
setTeamPropBackdropScored
(boolean teamPropBackdropScored) void
setTeamPropLineScored
(boolean teamPropLineScored)
-
Field Details
-
teamPropLineScored
boolean teamPropLineScored -
teamPropBackdropScored
boolean teamPropBackdropScored -
robotParked
boolean robotParked -
inScoringPosition
boolean inScoringPosition -
inIntakePosition
boolean inIntakePosition -
pixelsInControl
byte pixelsInControl -
location
double[] location -
obstacles
Obstacle[] obstacles
-
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
setLocation
public void setLocation(double x, double y, double direction) -
setLocation
public void setLocation(double x, double y) -
setTeamPropLineScored
public void setTeamPropLineScored(boolean teamPropLineScored) -
setTeamPropBackdropScored
public void setTeamPropBackdropScored(boolean teamPropBackdropScored) -
setRobotParked
public void setRobotParked(boolean robotParked) -
setInScoringPosition
public void setInScoringPosition(boolean inScoringPosition) -
setInIntakePosition
public void setInIntakePosition(boolean inIntakePosition) -
setPixelsInControl
public void setPixelsInControl(byte pixelsInControl) -
getTeamPropLineScored
public boolean getTeamPropLineScored() -
getTeamPropBackdropScored
public boolean getTeamPropBackdropScored() -
getRobotParked
public boolean getRobotParked() -
getInScoringPosition
public boolean getInScoringPosition() -
getInIntakePosition
public boolean getInIntakePosition() -
getPixelsInControl
public byte getPixelsInControl() -
getLocation
public double[] getLocation() -
getX
public double getX() -
getY
public double getY() -
getDirection
public double getDirection() -
setDirection
public void setDirection(double direction)
-