public preset_config_request_t(LCMDataInputStream ins)
        {
            if ((ulong)ins.ReadInt64() != LCM_FINGERPRINT)
            {
                throw new System.IO.IOException("LCM Decode error: bad fingerprint");
            }

            _decodeRecursive(ins);
        }
        public MDF_NEURAL_DECODER_OUTPUT(LCMDataInputStream ins)
        {
            if ((ulong)ins.ReadInt64() != LCM_FINGERPRINT)
            {
                throw new System.IO.IOException("LCM Decode error: bad fingerprint");
            }

            _decodeRecursive(ins);
        }
        public camera_line_info_t(LCMDataInputStream ins)
        {
            if ((ulong)ins.ReadInt64() != LCM_FINGERPRINT)
            {
                throw new System.IO.IOException("LCM Decode error: bad fingerprint");
            }

            _decodeRecursive(ins);
        }
        public start_program_response_t(LCMDataInputStream ins)
        {
            if ((ulong)ins.ReadInt64() != LCM_FINGERPRINT)
            {
                throw new System.IO.IOException("LCM Decode error: bad fingerprint");
            }

            _decodeRecursive(ins);
        }
Esempio n. 5
0
        public windows_controller_data_t(LCMDataInputStream ins)
        {
            if ((ulong)ins.ReadInt64() != LCM_FINGERPRINT)
            {
                throw new System.IO.IOException("LCM Decode error: bad fingerprint");
            }

            _decodeRecursive(ins);
        }
Esempio n. 6
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.publisher = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.timestamp = ins.ReadDouble();

            this.sequence = ins.ReadInt64();
        }
Esempio n. 7
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.roi_width = ins.ReadDouble();

            this.roi_height = ins.ReadDouble();

            this.roi_left_age = ins.ReadDouble();

            this.roi_right_age = ins.ReadDouble();

            this.conf_left = ins.ReadDouble();

            this.conf_right = ins.ReadDouble();

            this.target_left_x = ins.ReadDouble();

            this.target_left_y = ins.ReadDouble();

            this.target_right_x = ins.ReadDouble();

            this.target_right_y = ins.ReadDouble();

            this.range_meters = ins.ReadDouble();

            this.bearing_deg = ins.ReadDouble();

            this.z_err_meters = ins.ReadDouble();

            this.epi_error = ins.ReadDouble();

            this.roi_reinit_cnt = ins.ReadInt64();

            this.ext_target_rx_cnt = ins.ReadInt64();

            this.target_left_located = ins.ReadBoolean();

            this.target_right_located = ins.ReadBoolean();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.header = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.decoderoutput = new double[(int)4];
            for (int a = 0; a < 4; a++)
            {
                this.decoderoutput[a] = ins.ReadDouble();
            }

            this.timestamp = ins.ReadInt64();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.utime = ins.ReadInt64();

            this.num_boxes = ins.ReadSByte();

            this.boxes = new mwt.bounding_box_t[(int)num_boxes];
            for (int a = 0; a < this.num_boxes; a++)
            {
                this.boxes[a] = mwt.bounding_box_t._decodeRecursiveFactory(ins);
            }

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.model_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
Esempio n. 10
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.utime = ins.ReadInt64();

            this.width = ins.ReadInt32();

            this.height = ins.ReadInt32();

            this.row_stride = ins.ReadInt32();

            this.pixelformat = ins.ReadInt32();

            this.size = ins.ReadInt32();

            this.data = new byte[(int)size];
            for (int a = 0; a < this.size; a++)
            {
                this.data[a] = ins.ReadByte();
            }
        }
Esempio n. 11
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.utime = ins.ReadInt64();

            this.change_lane = ins.ReadByte();

            this.lane_width = ins.ReadSingle();

            this.center_line = lcmtypes.camera_center_line_info_t._decodeRecursiveFactory(ins);

            this.lines = new lcmtypes.camera_line_info_t[(int)4];
            for (int a = 0; a < 4; a++)
            {
                this.lines[a] = lcmtypes.camera_line_info_t._decodeRecursiveFactory(ins);
            }

            this.object_count = ins.ReadInt16();

            this.objects = new lcmtypes.camera_object_t[(int)object_count];
            for (int a = 0; a < this.object_count; a++)
            {
                this.objects[a] = lcmtypes.camera_object_t._decodeRecursiveFactory(ins);
            }
        }
Esempio n. 12
0
 public void _decodeRecursive(LCMDataInputStream ins)
 {
     byte[] __strbuf = null;
     this.utime       = ins.ReadInt64();
     this.deg_celsius = ins.ReadDouble();
 }