mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
defualt command and soft limits
This commit is contained in:
@@ -22,10 +22,23 @@ public class Arm extends SubsystemBase {
|
||||
pivot.set(output);
|
||||
}
|
||||
|
||||
public void runTelescope(double output) {
|
||||
public void runTele(double output) {
|
||||
tele.set(output);
|
||||
}
|
||||
|
||||
public void runPivotAndTele(double pOutput, double tOutput) {
|
||||
pivot.set(pOutput);
|
||||
tele.set(tOutput);
|
||||
}
|
||||
|
||||
public double getPivotPos() {
|
||||
return pivot.getSelectedSensorPosition();
|
||||
}
|
||||
|
||||
public double getTelePos() {
|
||||
return tele.getSelectedSensorPosition();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void periodic() {
|
||||
// This method will be called once per scheduler run
|
||||
|
||||
Reference in New Issue
Block a user