/// <summary> /// is called by the refreshTimer. Raises UI updates /// </summary> private void OnRefreshTick(object sender, EventArgs e) { foreach (var item in Sensors) { item.Refresh(); } foreach (var item in sensorBoneLinkVMs.Values) { item.Refresh(); } if (State == AppState.Running) { var orientations = SensorBoneMap.GetCalibratedSensorOrientations(); Kinematic.Model.ApplyWorldRotations(orientations); } Kinematic.Refresh(); }
private void OnRefreshTick(object sender, EventArgs e) { Kinematic.Refresh(); }