mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 08:48:07 -06:00
updated claws
This commit is contained in:
@@ -102,13 +102,13 @@ public class Claws extends SubsystemBase {
|
||||
if(open) {
|
||||
// m_leftClaw.getEncoder().setPosition(ClawsConstants.OPEN_POSITION + m_leftOffset);
|
||||
// m_rightClaw.getEncoder().setPosition(ClawsConstants.OPEN_POSITION + m_rightOffset);
|
||||
m_leftClaw.set(0.1);
|
||||
m_rightClaw.set(0.1);
|
||||
m_leftClaw.set(-ClawConstants.OPEN_POSITION);
|
||||
m_rightClaw.set(ClawConstants.OPEN_POSITION);
|
||||
} else {
|
||||
// m_leftClaw.getEncoder().setPosition(ClawsConstants.CLOSE_POSITION + m_leftOffset);
|
||||
// m_rightClaw.getEncoder().setPosition(ClawsConstants.CLOSE_POSITION + m_rightOffset);
|
||||
m_leftClaw.set(-0.1);
|
||||
m_rightClaw.set(-0.1);
|
||||
m_leftClaw.set(-ClawConstants.CLOSE_POSITION);
|
||||
m_rightClaw.set(ClawConstants.CLOSE_POSITION);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user