Constants

The Constants class will hold the two constants required for the Motor definitions on the Titan Quad Motor Controller.

 1package frc.robot;
 2
 3public final class Constants
 4{
 5    /**
 6     * Motor Constants
 7     */
 8    public static final int TITAN_ID        = 42;
 9    public static final int MOTOR           = 2;
10}
  • The constant TITAN_ID is the CAN ID for the Titan Quad. Out of box the ID is 42

  • The constant MOTOR is the motor port on the Titan Quad that the motor is attached to. In this case that is M2.