mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 00:38:05 -06:00
Merge branch 'testRoboReveal' of https://github.com/Team4388/2022NoWayHome into testRoboReveal
This commit is contained in:
@@ -199,9 +199,9 @@ public class RobotContainer {
|
|||||||
// m_robotTurret).withName("Storage ManageStorage defaultCommand"));
|
// m_robotTurret).withName("Storage ManageStorage defaultCommand"));
|
||||||
|
|
||||||
// Storage Management
|
// Storage Management
|
||||||
m_robotStorage.setDefaultCommand(
|
// m_robotStorage.setDefaultCommand(
|
||||||
new RunCommand(() -> m_robotStorage.manageStorage(),
|
// new RunCommand(() -> m_robotStorage.manageStorage(),
|
||||||
m_robotStorage).withName("Storage manageStorage defaultCommand"));
|
// m_robotStorage).withName("Storage manageStorage defaultCommand"));
|
||||||
|
|
||||||
// Serializer Management
|
// Serializer Management
|
||||||
m_robotSerializer.setDefaultCommand(
|
m_robotSerializer.setDefaultCommand(
|
||||||
|
|||||||
@@ -60,8 +60,8 @@ public class ManageStorage extends CommandBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void checkColor() {
|
private void checkColor() {
|
||||||
this.alliance = this.storage.getColor();
|
// this.alliance = this.storage.getColor();
|
||||||
rightColor = this.alliance.equals(Robot.alliance);
|
// rightColor = this.alliance.equals(Robot.alliance);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called once the command ends or is interrupted.
|
// Called once the command ends or is interrupted.
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ public class Climber extends SubsystemBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setJointAngles(double[] angles) {
|
public void setJointAngles(double[] angles) {
|
||||||
System.out.println(Arrays.toString(angles));
|
// System.out.println(Arrays.toString(angles));
|
||||||
setJointAngles(angles[0], angles[1]);
|
setJointAngles(angles[0], angles[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user