public void onScannedRobot(ScannedRobotEvent e) {
        // Replace the next line with any behavior you would like
        if (forward) {
            setAhead(20.0);
        }else {
            setBack(20.0);
        }
        if (e.getEnergy() < 40) {
            setFire(1.1);
            setFire(.7);
        }else{
            setFire(10);
            setFire(1.1);
        }
        execute();
    }