コード例 #1
0
 protected virtual void OnRawInertialAndMagneticDataRead(RawInertialAndMagneticData e)
 {
     if (RawInertialAndMagneticDataRead != null)
     {
         RawInertialAndMagneticDataRead(this, e);
     }
 }
コード例 #2
0
ファイル: xIMUserial.cs プロジェクト: docmartini/xIMUcppAPI
 protected virtual void OnRawInertialAndMagneticDataReceived(RawInertialAndMagneticData e) { if (RawInertialAndMagneticDataReceived != null) RawInertialAndMagneticDataReceived(this, e); }
コード例 #3
0
 /// <summary>
 /// Writes <see cref="RawInertialAndMagneticData"/> to CSV file. Will create new file if required.
 /// </summary>
 /// <param name="rawInertialAndMagneticData">
 /// x-IMU raw inertial/magnetic data.
 /// </param>
 public void WriteRawInertialAndMagneticData(RawInertialAndMagneticData rawInertialAndMagneticData)
 {
     WriteCSVlineAtFileIndex(rawInertialAndMagneticData.ConvertToCSVstring(), FileIndexes.RawInertialAndMag);
     PacketsWrittenCounter.RawInertialAndMagneticDataPackets++;
 }
コード例 #4
0
 /// <summary>
 /// Writes <see cref="RawInertialAndMagneticData"/> to CSV file. Will create new file if required.
 /// </summary>
 /// <param name="rawInertialAndMagneticData">
 /// x-IMU raw inertial/magnetic data.
 /// </param>
 public void WriteRawInertialAndMagneticData(RawInertialAndMagneticData rawInertialAndMagneticData)
 {
     WriteCSVlineAtFileIndex(rawInertialAndMagneticData.ConvertToCSVstring(), FileIndexes.RawInertialAndMag);
     PacketsWrittenCounter.RawInertialAndMagneticDataPackets++;
 }