Esempio n. 1
0
        /// <summary>
        /// Service Start
        /// </summary>
        protected override void Start()
        {
            //base.Start();
            DirectoryInsert();
            _imu = new CristaIMU(IMU_PORT, _imuDataPort);

            SpawnIterator(activateIMUIterator);

            Interleave mainInterleave = ActivateDsspOperationHandlers();
            mainInterleave.CombineWith(new Interleave(new ExclusiveReceiverGroup(
                Arbiter.Receive<IMUData>(true, _imuDataPort, DataReceivedHandler)),
                new ConcurrentReceiverGroup()));
            // Add service specific initialization here.
        }
Esempio n. 2
0
 static void Main(string[] args)
 {
     CristaIMU imu = new CristaIMU("COM2");
     imu.autoupdate();
 }