public IEnumerable <TPacketM2> GetTrackingMode2StreamFromVWCenter() { SetLineMode(LineMode.TrackColor, 2); TPacketM2Reader rdr = new TPacketM2Reader(); IEnumerable <TPacketM2> stream = _c.SendCommandGetPacketStream(rdr, "TW"); IsStreaming = true; return(stream); }
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); }