Esempio n. 1
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public Sensors(Robot _robot)
     : base(_robot)
 {
     Bumps             = new Bump(_robot);
     Wheeldrops        = new Wheeldrop(_robot);
     Cliffs            = new Cliff(_robot);
     MotorOvercurrents = new MotorOvercurrent(_robot);
     DirtDetectors     = new DirtDetector(_robot);
     Buttons           = new Button(_robot);
 }
Esempio n. 2
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public Sensors(Robot _robot)
     : base(_robot)
 {
     Bumps = new Bump(_robot);
     Wheeldrops = new Wheeldrop(_robot);
     Cliffs = new Cliff(_robot);
     MotorOvercurrents = new MotorOvercurrent(_robot);
     DirtDetectors = new DirtDetector(_robot);
     Buttons = new Button(_robot);
 }