mirror of
https://github.com/Team4388/2019-Hit-or-Miss.git
synced 2026-06-09 00:28:05 -06:00
small fixes from 2/18/19
This commit is contained in:
@@ -336,12 +336,12 @@ public class Arm extends Subsystem implements ControlLoopable
|
||||
}
|
||||
|
||||
public void updateStatus(Robot.OperationMode operationMode) {
|
||||
if (operationMode == Robot.OperationMode.TEST) {
|
||||
try {
|
||||
SmartDashboard.putNumber("Elevator Position Inches", motor1.getPositionWorld());
|
||||
SmartDashboard.putNumber("Elevator Motor 1 Amps", motor1.getOutputCurrent());
|
||||
SmartDashboard.putNumber("Elevator Motor 2 Amps", motor2.getOutputCurrent());
|
||||
SmartDashboard.putNumber("Elevator Average Amps", getAverageMotorCurrent());
|
||||
|
||||
// SmartDashboard.putNumber("Elevator Motor 1 Amps PDP", Robot.pdp.getCurrent(RobotMap.ELEVATOR_MOTOR_1_CAN_ID));
|
||||
// SmartDashboard.putNumber("Elevator Motor 2 Amps PDP", Robot.pdp.getCurrent(RobotMap.ELEVATOR_MOTOR_2_CAN_ID));
|
||||
// SmartDashboard.putNumber("Elevator Motor 3 Amps PDP", Robot.pdp.getCurrent(RobotMap.ELEVATOR_MOTOR_3_CAN_ID));
|
||||
@@ -349,7 +349,7 @@ public class Arm extends Subsystem implements ControlLoopable
|
||||
}
|
||||
catch (Exception e) {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static Arm getInstance() {
|
||||
|
||||
@@ -115,7 +115,7 @@ public class Climber extends Subsystem{
|
||||
climberFront.set(leftTriggerInput);
|
||||
}
|
||||
else {
|
||||
climberBack.set(0);
|
||||
climberBack.set(rightTriggerInput*.3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ public class Wrist extends Subsystem implements ControlLoopable
|
||||
}
|
||||
|
||||
public void setSpeedJoystick(double speed) {
|
||||
wristmotor1.set(ControlMode.PercentOutput, speed);
|
||||
wristmotor1.set(ControlMode.PercentOutput, speed*.7);
|
||||
setWristControlMode(WristControlMode.JOYSTICK_MANUAL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user