Esempio n. 1
0
File: Robot.cs Progetto: maesi/prgsy
        public Robot(RunMode aRunMode)
        {
            this.RunMode = aRunMode;

            RobotConsole = new RobotConsole(this.RunMode);
            RobotConsole.SwitchChanged += new EventHandler(RobotConsole_SwitchChanged);
            initDrive();
            Radar = new Radar(this.RunMode);
        }
Esempio n. 2
0
 public Robot()
 {
     this.robotConsole = new RobotConsole();
     this.radar        = new Radar(Constants.IORadarSensor);
     this.drive        = new Drive();
 }