Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
Delete antiquated TalonWrapper methods
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnitoProductions committed Oct 15, 2018
1 parent 15c2b82 commit b8f137b
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions src/harkerrobolib/wrappers/TalonSRXWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,40 +55,6 @@ public TalonSRXWrapper (int deviceNumber, int defaultTimeout) {
timeout = defaultTimeout;
}

// /**
// * Initializes a TalonWrapper with its channel and reversed flag.
// * @param channel The PWM channel on the digital module the Talon is attached to.
// * @param isReversed Whether or not the output of this Talon should be flipped.
// */
// public TalonSRXWrapper (int channel, boolean isReversed) {
// super(channel);
// this.isReversed = isReversed;
// }

// /**
// * Sets the speed of the Talon (handles reversing).
// * @param speed The speed to set the Talon.
// */
// public void set (double speed) {
// super.set(isReversed ? -speed : speed);
// }

// /**
// * Sets the reversed flag of the Talon.
// * @param flag Set whether or not to reverse the Talon output.
// */
// public void setReversed (boolean flag) {
// isReversed = flag;
// }

// /**
// * Gets the reversed flag of the Talon.
// * @return Whether or not the Talon output is reversed
// */
// public boolean getReversed () {
// return isReversed;
// }

/**
* Resets the Talon to its factory defaults - the software equivalent of resetting the talon,<br>
* based on <a href=https://github.com/CrossTheRoadElec/Phoenix-Documentation>CTRE's Github</a> and <a
Expand Down

0 comments on commit b8f137b

Please sign in to comment.