FRC4131/RecycleRush2015

Claw

Closed this issue · 1 comments

Create a Claw class. It will have four public methods: open, close, rotate to this degree measure, and move up or down to this position in inches. I recommend a Thread that does all of this whenever the robot is enabled.

while(true){
    if(robot.isEnabled()){
        //Move and rotate the claw
    }
}

Because EnhancedIO has been abandoned, absolute control is no longer necessary. Relative control is included in the Claw class.