/// <summary> /// Handle CH Robotics UM6 Orientation Sensor Notification - ProcMag /// </summary> /// <param name="notification">ProcMag notification</param> private void ChrProcMagHandler(chrum6orientationsensor.ProcMagNotification notification) { Tracer.Trace(string.Format("the UM6 Sensor reported ProcMag: {0} {1} {2} {3}", notification.Body.LastUpdate, notification.Body.x, notification.Body.y, notification.Body.z)); }
/// <summary> /// Handle CH Robotics UM6 Orientation Sensor Notification - ProcMag /// </summary> /// <param name="notification">ProcMag notification</param> private void ChrProcMagHandler(chrum6orientationsensor.ProcMagNotification notification) { Tracer.Trace(string.Format("the UM6 Sensor reported ProcMag: {0} {1} {2} {3}", notification.Body.LastUpdate, notification.Body.x, notification.Body.y, notification.Body.z)); // not set up in UM6, all we are using is USE_ORIENTATION_UM6 || USE_DIRECTION_UM6_QUATERNION }