Package edu.stuy.subsystems

Examples of edu.stuy.subsystems.Conveyor


     * This function is called periodically during autonomous
     */
    public void autonomousPeriodic() {
        Scheduler.getInstance().run();
        updateSmartDashboard();
        Conveyor conv = CommandBase.conveyor;
        // Has the ball settled at the top?
        conv.curBallAtTop = CommandBase.conveyor.ballAtTop();
        if (conv.curBallAtTop && conv.startBallDelayTime < 0) {
            conv.startBallDelayTime = Timer.getFPGATimestamp();
        }
View Full Code Here


        CommandBase.oi.updateLights();
        updateSmartDashboard();


        Conveyor conv = CommandBase.conveyor;
        // Has the ball settled at the top?
        conv.curBallAtTop = CommandBase.conveyor.ballAtTop();
        if (conv.curBallAtTop && conv.startBallDelayTime < 0) conv.startBallDelayTime = Timer.getFPGATimestamp();
        conv.ballWaitTime = (conv.startBallDelayTime > 0) ? Timer.getFPGATimestamp() - conv.startBallDelayTime : -1;
        conv.ballSettled = conv.startBallDelayTime < 0 || conv.ballWaitTime > BALL_STATIONARY_TIME;
View Full Code Here

TOP

Related Classes of edu.stuy.subsystems.Conveyor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.