public MissionDevelopment()
        {
            _httpListener = new HttpListener();
            _httpListener.Prefixes.Add("http://*:8080/");

            _vehicle = new Vehicle(Constants.MOTOR_LEFT_PORT, Constants.MOTOR_RIGHT_PORT);
            _hefVork = new Hefvork(Constants.HEFVORK_MOTOR_PORT, Constants.HEFVORK_STOP_SENSOR_PORT);
        }
Esempio n. 2
0
 public TestMission()
 {
     _hefVork = new Hefvork(MonoBrickFirmware.Movement.MotorPort.OutB, MonoBrickFirmware.Sensors.SensorPort.In1);
 }