@@ -0,0 +1,1137 @@
+package com.edinarobotics.utils.autonomous.conditions;%0A%0Aimport com.edinarobotics.utils.autonomous.BooleanCondition;%0Aimport edu.wpi.first.wpilibj.RobotBase;%0A%0A/**%0A * A %7B@link BooleanCondition%7D that returns whether or not a given robot%0A * is enabled and is in operator control mode.%0A */%0Apublic class OperatorControlCondition implements BooleanCondition%7B%0A    private RobotBase robot;%0A    %0A    /**%0A     * Constructs a new OperatorControlCondition that can be used to test%0A     * whether or not a given robot is enabled and is in operator%0A     * control mode.%0A     * @param robot the robot to test for operator control mode.%0A     */%0A    public OperatorControlCondition(RobotBase robot)%7B%0A        this.robot = robot;%0A    %7D%0A    %0A    /**%0A     * Returns whether or not the robot is in operator control mode and is%0A     * enabled.%0A     * This is the result of: %0A     * %22%7B@code robot.isOperatorControl() && robot.isEnabled()%7D.%22%0A     * @return %7B@code true%7D if the robot is enabled and is in operator control%0A     * mode, %7B@code false%7D otherwise.%0A     */%0A    public boolean get()%7B%0A        return robot.isOperatorControl() && robot.isEnabled();%0A    %7D%0A%7D%0A

Add OperatorControlCondition to test whether or not a robot is in teleop.