mirror of
https://github.com/trc492/FtcTemplate.git
synced 2025-07-01 13:01:24 -07:00
Updated trclib, ftclib.
Minor optimization.
This commit is contained in:
Submodule TeamCode/src/main/java/ftclib updated: fda7889a95...e4b919da7b
@ -46,7 +46,7 @@ import trclib.timer.TrcTimer;
|
||||
@Autonomous(name="FtcAutonomous", group="Ftcxxxx")
|
||||
public class FtcAuto extends FtcOpMode
|
||||
{
|
||||
private static final String moduleName = FtcAuto.class.getSimpleName();
|
||||
private final String moduleName = getClass().getSimpleName();
|
||||
|
||||
public enum Alliance
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ import trclib.timer.TrcTimer;
|
||||
@TeleOp(name="FtcTeleOp", group="Ftcxxxx")
|
||||
public class FtcTeleOp extends FtcOpMode
|
||||
{
|
||||
private static final String moduleName = FtcTeleOp.class.getSimpleName();
|
||||
private final String moduleName = getClass().getSimpleName();
|
||||
|
||||
protected Robot robot;
|
||||
protected FtcGamepad driverGamepad;
|
||||
|
@ -57,7 +57,7 @@ import trclib.timer.TrcTimer;
|
||||
@TeleOp(name="FtcTest", group="Ftcxxxx")
|
||||
public class FtcTest extends FtcTeleOp
|
||||
{
|
||||
private static final String moduleName = FtcTest.class.getSimpleName();
|
||||
private final String moduleName = getClass().getSimpleName();
|
||||
private static final boolean logEvents = true;
|
||||
private static final boolean debugPid = true;
|
||||
|
||||
|
@ -45,7 +45,7 @@ import trclib.timer.TrcTimer;
|
||||
*/
|
||||
public class Robot
|
||||
{
|
||||
private static final String moduleName = Robot.class.getSimpleName();
|
||||
private final String moduleName = getClass().getSimpleName();
|
||||
// Global objects.
|
||||
public final FtcOpMode opMode;
|
||||
public final TrcDbgTrace globalTracer;
|
||||
|
@ -34,7 +34,7 @@ import trclib.timer.TrcTimer;
|
||||
*/
|
||||
public class CmdAuto implements TrcRobot.RobotCommand
|
||||
{
|
||||
private static final String moduleName = CmdAuto.class.getSimpleName();
|
||||
private final String moduleName = getClass().getSimpleName();
|
||||
|
||||
private enum State
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ import trclib.vision.TrcVisionTargetInfo;
|
||||
*/
|
||||
public class Vision
|
||||
{
|
||||
private static final String moduleName = Vision.class.getSimpleName();
|
||||
private final String moduleName = getClass().getSimpleName();
|
||||
|
||||
public enum ColorBlobType
|
||||
{
|
||||
|
Submodule TeamCode/src/main/java/trclib updated: 2e8ab0dd1b...c47ff5ea2f
Reference in New Issue
Block a user