Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonS09 committed Mar 7, 2024
1 parent dbf70ba commit 3622b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/carlmontrobotics/commands/ArmTeleop.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void execute() {
double currTime = Timer.getFPGATimestamp();
double deltaT = currTime - lastTime;
lastTime = currTime;
if (speeds == 0){// If no input, return, explained in @brettles comments on issue #24
if (speeds == 0){// If no input, return so that the actual goal set by the instant command wouldn't be overriden, can be further explained in this issue: https://github.com/DeepBlueRobotics/RobotCode2024/issues/24
return;
}
double goalArmRad = goalState.position + speeds * deltaT;
Expand Down

0 comments on commit 3622b0d

Please sign in to comment.