Beispiel #1
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="_robot"></param>
 public Wheeldrop(Robot _robot)
     : base(_robot)
 {
 }
Beispiel #2
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public Component(Robot _robot)
 {
     robot = _robot;
 }
Beispiel #3
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public DirtDetector(Robot _robot)
     : base(_robot)
 {
 }
Beispiel #4
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="_robot"></param>
 public MotorOvercurrent(Robot _robot)
     : base(_robot)
 {
 }
Beispiel #5
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="_robot"></param>
 public Cliff(Robot _robot)
     : base(_robot)
 {
 }
Beispiel #6
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public Button(Robot _robot)
     : base(_robot)
 {
 }
Beispiel #7
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public Bump(Robot _robot)
     : base(_robot)
 {
 }
Beispiel #8
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);
 }
Beispiel #9
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public Leds(Robot _robot)
 {
     robot = _robot;
     bits = 0;
     power_colour = 0;
     power_intensity = 0;
     Power = new PowerLed(this);
 }