Esempio n. 1
0
 /// <summary>
 /// Handle CH Robotics UM6 Orientation Sensor Notification - ProcAccel
 /// </summary>
 /// <param name="notification">ProcAccel notification</param>
 private void ChrProcAccelHandler(chrum6orientationsensor.ProcAccelNotification notification)
 {
     Tracer.Trace(string.Format("the UM6 Sensor reported ProcAccel: {0}   {1}   {2}   {3}", notification.Body.LastUpdate, notification.Body.xAccel, notification.Body.yAccel, notification.Body.zAccel));
 }
        /// <summary>
        /// Handle CH Robotics UM6 Orientation Sensor Notification - ProcAccel
        /// </summary>
        /// <param name="notification">ProcAccel notification</param>
        private void ChrProcAccelHandler(chrum6orientationsensor.ProcAccelNotification notification)
        {
            Tracer.Trace(string.Format("the UM6 Sensor reported ProcAccel: {0}   {1}   {2}   {3}", notification.Body.LastUpdate, notification.Body.xAccel, notification.Body.yAccel, notification.Body.zAccel));

            // not set up in UM6, all we are using is USE_ORIENTATION_UM6 || USE_DIRECTION_UM6_QUATERNION
        }