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