Skip to content

Commit

Permalink
don't initialize the Timer object in the constructor
Browse files Browse the repository at this point in the history
otherwise We'd need to load some more native dependencies on the robot side
  • Loading branch information
varun7654 committed Dec 12, 2023
1 parent 3837da6 commit 16bd235
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,15 @@ public void end() {
@Override
@AutoBuilderRobotSide
public void initialize() {
timer = new Timer();
rotationIndex = 1; // Start at the second rotation (the first is the starting rotation)
isFirstRun = true;
}

private int rotationIndex;
private boolean isFirstRun;

private Timer timer = new Timer();
private Timer timer;
private Command pathDriveCommand = null;

/**
Expand Down

0 comments on commit 16bd235

Please sign in to comment.