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