-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sam Duckett
committed
Jan 4, 2024
1 parent
55bf812
commit cecb5d0
Showing
7 changed files
with
133 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
src/main/java/frc/lib/hardware/Motors/MotorControllers/simMC.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package frc.lib.hardware.Motors.MotorControllers; | ||
|
||
public class simMC implements MotorController { | ||
|
||
@Override | ||
public boolean connected() { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'connected'"); | ||
} | ||
|
||
@Override | ||
public void close() throws Exception { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'close'"); | ||
} | ||
|
||
@Override | ||
public MotorController build(int canID) { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'build'"); | ||
} | ||
|
||
@Override | ||
public void runVolts(double num) { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'runVolts'"); | ||
} | ||
|
||
@Override | ||
public void brakeMode(boolean enable) { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'brakeMode'"); | ||
} | ||
|
||
@Override | ||
public void disable() { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'disable'"); | ||
} | ||
|
||
@Override | ||
public int getCanID() { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'getCanID'"); | ||
} | ||
|
||
@Override | ||
public double getAppliedVolts() { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'getAppliedVolts'"); | ||
} | ||
|
||
@Override | ||
public double getCurentAmps() { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'getCurentAmps'"); | ||
} | ||
|
||
@Override | ||
public double getBusVoltage() { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'getBusVoltage'"); | ||
} | ||
|
||
@Override | ||
public MotorController setInverted(boolean enable) { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'setInverted'"); | ||
} | ||
|
||
@Override | ||
public MotorController setCurrentLimit(double CurrentLimit) { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'setCurrentLimit'"); | ||
} | ||
|
||
@Override | ||
public MotorController setSimulated(double simulated) { | ||
// TODO Auto-generated method stub | ||
throw new UnsupportedOperationException("Unimplemented method 'setSimulated'"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.