Пример #1
0
        public IEnumerable <TPacketM2> GetTrackingMode2StreamFromVWCenter()
        {
            SetLineMode(LineMode.TrackColor, 2);

            TPacketM2Reader rdr = new TPacketM2Reader();

            IEnumerable <TPacketM2> stream = _c.SendCommandGetPacketStream(rdr, "TW");

            IsStreaming = true;
            return(stream);
        }
Пример #2
0
        public IEnumerable <TPacketM2> GetTrackingMode2Stream(Color min, Color max)
        {
            _stateTrackMin = min;
            _stateTrackMax = max;

            SetLineMode(LineMode.TrackColor, 2);

            TPacketM2Reader rdr = new TPacketM2Reader();

            IEnumerable <TPacketM2> stream = _c.SendCommandGetPacketStream(rdr, "TC", min.R, max.R, min.G, max.G, min.B, max.B);

            IsStreaming = true;
            return(stream);
        }