コード例 #1
0
 /// <summary>
 /// Handle CH Robotics UM6 Orientation Sensor Notification - ProcGyro
 /// </summary>
 /// <param name="notification">ProcGyro notification</param>
 private void ChrProcGyroHandler(chrum6orientationsensor.ProcGyroNotification notification)
 {
     Tracer.Trace(string.Format("the UM6 Sensor reported ProcGyro: {0}   {1}   {2}   {3}", notification.Body.LastUpdate, notification.Body.xRate, notification.Body.yRate, notification.Body.zRate));
 }
コード例 #2
0
        /// <summary>
        /// Handle CH Robotics UM6 Orientation Sensor Notification - ProcGyro
        /// </summary>
        /// <param name="notification">ProcGyro notification</param>
        private void ChrProcGyroHandler(chrum6orientationsensor.ProcGyroNotification notification)
        {
            Tracer.Trace(string.Format("the UM6 Sensor reported ProcGyro: {0}   {1}   {2}   {3}", notification.Body.LastUpdate, notification.Body.xRate, notification.Body.yRate, notification.Body.zRate));

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