Class Robot

java.lang.Object
com.pocolifo.robobase.Robot

public class Robot extends Object
Data and other information about the robot. This should be kept as accurate and up-to-date as possible!
  • Field Details

    • widthCm

      public final double widthCm

      The width of the robot in real life, in centimeters.

      In this case, the width should be calculated by measuring the distance from the outside of the left set of wheels to the outside of the right set of wheels, assuming this Robot is using CarWheels.

    • lengthCm

      public final double lengthCm

      The 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 heightCm
      The height of the robot in real life, in centimeters.
    • teamNumber

      public final int teamNumber
      The number of the team who built the robot.
    • robotName

      public final String robotName
      The name of the robot.
    • hasWarningSticker

      public final boolean hasWarningSticker
      If the robot has the "Warning: Robot Moves on Initialization" sticker on it.
    • isPassingInspection

      public final boolean isPassingInspection
      True if the robot passes the following inspection requirements:
      • 18 in >= width
      • 18 in >= length
      • 18 in >= height
      • Robot has a warning sticker
    • omniDriveCoefficients

      public final OmniDriveCoefficients 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)