示例#1
0
 private void _Timer_Elapsed(object sender, ElapsedEventArgs e)
 {
     GyroX.DrawPoints();
     GyroY.DrawPoints();
     GyroZ.DrawPoints();
     AccX.DrawPoints();
     AccY.DrawPoints();
     AccZ.DrawPoints();
 }
示例#2
0
        public void Fired(IOProxy proxy, List <AbstractProxyEventData> eventData)
        {
            ImuDerivedEventData imuDerivedEventData = (ImuDerivedEventData)eventData.FirstOrDefault(c => c is ImuDerivedEventData);

            if (imuDerivedEventData != null)
            {
                GyroX.AddDataPoint(imuDerivedEventData.Time, imuDerivedEventData.GyroX);
                GyroY.AddDataPoint(imuDerivedEventData.Time, imuDerivedEventData.GyroY);
                GyroZ.AddDataPoint(imuDerivedEventData.Time, imuDerivedEventData.GyroZ);
                AccX.AddDataPoint(imuDerivedEventData.Time, imuDerivedEventData.AccelX);
                AccY.AddDataPoint(imuDerivedEventData.Time, imuDerivedEventData.AccelY);
                AccZ.AddDataPoint(imuDerivedEventData.Time, imuDerivedEventData.AccelZ);
            }
        }