Team2168 / 2015_Main_Robot

Source code for the 2015 season
2 stars 0 forks source link

Intake in OI #68

Closed NotInControl closed 9 years ago

NotInControl commented 9 years ago

Were these tested by someone before it was meged into master? We could not get them to work tonight

    operatorJoystick.ButtonRightTrigger().whenReleased(new StopIntakeWheels());
    operatorJoystick.ButtonLeftTrigger().whileHeld(new SetIntakeSpeed(-RobotMap.INTAKE_WHEEL_SPEED));
    operatorJoystick.ButtonLeftTrigger().whenReleased(new StopIntakeWheels());
jcorcoran commented 9 years ago

Yea the button map was tested. I did modify some of the logic in the Intake subsystem for how the intake sensor is filtered, and also a threshold value that the IR sensor must exceed, that may have a bug.

OI and commands should be fine IIRC. You can look at the diff from my last commit into master, that should get you back to code that was run on the robot.