Package com.pocolifo.robobase
Class Robot
java.lang.Object
com.pocolifo.robobase.Robot
Data and other information about the robot. This should be kept as accurate and up-to-date as possible!
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
If the robot has the "Warning: Robot Moves on Initialization" sticker on it.final double
The height of the robot in real life, in centimeters.final boolean
True if the robot passes the following inspection requirements: 18 in >= width 18 in >= length 18 in >= height Robot has a warning stickerfinal double
The length of the robot in real life, in centimeters.final OmniDriveCoefficients
All motor movements are multiplied by these coefficients.final String
The name of the robot.final int
The number of the team who built the robot.final double
The width of the robot in real life, in centimeters. -
Constructor Summary
ConstructorsConstructorDescriptionRobot
(double widthCm, double lengthCm, double heightCm, int teamNumber, String robotName, boolean hasWarningSticker, OmniDriveCoefficients omniDriveCoefficients) -
Method Summary
-
Field Details
-
widthCm
public final double widthCm -
lengthCm
public final double lengthCmThe length of the robot in real life, in centimeters.
This should be calculated by measuring the other side that isn't the height or the side which the width was measured.
-
heightCm
public final double heightCmThe height of the robot in real life, in centimeters. -
teamNumber
public final int teamNumberThe number of the team who built the robot. -
robotName
The name of the robot. -
hasWarningSticker
public final boolean hasWarningStickerIf the robot has the "Warning: Robot Moves on Initialization" sticker on it. -
isPassingInspection
public final boolean isPassingInspectionTrue if the robot passes the following inspection requirements:- 18 in >= width
- 18 in >= length
- 18 in >= height
- Robot has a warning sticker
-
omniDriveCoefficients
All motor movements are multiplied by these coefficients. These coefficients should be changed every year ONLY if needed.- See Also:
-
-
Constructor Details
-
Robot
public Robot(double widthCm, double lengthCm, double heightCm, int teamNumber, String robotName, boolean hasWarningSticker, OmniDriveCoefficients omniDriveCoefficients)
-