public void OnPingUpdate(object sender, PingEventArgs latest)
 {
     RobotState.SetPingDistance(latest.Distance);
 }
 private void BroadcastIrUpdate()
 {
     RobotState.SetIrDistance(_irSensor.ReadDistance());
     Thread.Sleep(_delay);
 }