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