FtcXtensible/src/main/java/org/ftccommunity/ftcxtensible/robot/ExtensibleOpMode.java
@Override
    public final void start() {
        status().setMainState(RobotStatus.MainStates.START);
        LinkedList<Object> list = new LinkedList<>();
        try {
            start(this, list);
        } catch (InterruptedException ex) {
            Thread.currentThread().interrupt();
            return;
        } catch (Exception e) {
            handleException(list, e);
        }

        if (list.isEmpty()) {
            onSuccess(this, status().getMainRobotState(), null);
        } else {
            for (Object o : list) {
                onSuccess(this, status().getMainRobotState(), o);
            }
        }

        telemetry().sendData();
    }
/**
     * Starts the user code operations to start the robot
     */
Starts the user code operations to start the robot
Starts the user code operations to start the robot
@Override
    public final void start() {
        status().setMainState(RobotStatus.MainStates.START);
        LinkedList<Object> list = new LinkedList<>();
        try {
            start(this, list);
        } catch (InterruptedException ex) {
            Thread.currentThread().interrupt();
            return;
        } catch (Exception e) {
            handleException(list, e);
        }
        if (list.isEmpty()) {
            onSuccess(this, status().getMainRobotState(), null);
        } else {
            for (Object o : list) {
                onSuccess(this, status().getMainRobotState(), o);
            }
        }
        telemetry().sendData();
    }
@ Override public final void start ( ) { status ( ) . setMainState ( RobotStatus . MainStates . START ) ; LinkedList < Object > list = new LinkedList < > ( ) ; try { start ( this , list ) ; } catch ( InterruptedException ex ) { Thread . currentThread ( ) . interrupt ( ) ; return ; } catch ( Exception e ) { handleException ( list , e ) ; } if ( list . isEmpty ( ) ) { onSuccess ( this , status ( ) . getMainRobotState ( ) , null ) ; } else { for ( Object o : list ) { onSuccess ( this , status ( ) . getMainRobotState ( ) , o ) ; } } telemetry ( ) . sendData ( ) ; }
Starts the user code operations to start the robot
Starts the user code operations to start the robot