Esempio n. 1
0
 private void Health()
 {
     RobotState.SetBeaconHealth(_receiver.beaconPresent());
     Thread.Sleep(_delay);
 }
 public void OnPingUpdate(object sender, PingEventArgs latest)
 {
     RobotState.SetPingDistance(latest.Distance);
 }
Esempio n. 3
0
 private void CompassUpdate()
 {
     RobotState.SetBearing(_receiver.findBeacon());
     Thread.Sleep(_delay);
 }
Esempio n. 4
0
 private void BroadcastIrUpdate()
 {
     RobotState.SetIrDistance(_irSensor.ReadDistance());
     Thread.Sleep(_delay);
 }