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