Skip to content

Commit

Permalink
add curvatureDrive
Browse files Browse the repository at this point in the history
  • Loading branch information
anivanchen committed Feb 2, 2024
1 parent 3cf7e1a commit d770004
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ public ChassisSpeeds getChassisSpeeds() {
public abstract void setCoast();
public abstract void setBrake();

public abstract void curvatureDrive(double speed, double rotation, boolean isQuickTurn);

public void periodicChild() {}

@Override
public void periodic() {
periodicChild();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,10 @@ public void setCoast() {}
@Override
public void setBrake() {}

@Override
public void curvatureDrive(double speed, double rotation, boolean isQuickTurn) {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'curvatureDrive'");
}

}

0 comments on commit d770004

Please sign in to comment.