Exemplo n.º 1
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.utime = ins.ReadInt64();

            this.nauto = ins.ReadInt32();

            this.steerPos = ins.ReadSingle();

            this.steerSpe = ins.ReadInt32();

            this.light = ins.ReadInt32();

            this.speLeft = ins.ReadSingle();

            this.speRight = ins.ReadSingle();

            this.vot = ins.ReadSingle();

            this.shift = ins.ReadInt32();

            this.disLeft = ins.ReadSingle();

            this.disRight = ins.ReadSingle();

            this.speo = ins.ReadSingle();

            this.yawRate = ins.ReadSingle();

            this.accelerationLon = ins.ReadSingle();

            this.accelerationLat = ins.ReadSingle();
        }
Exemplo n.º 2
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.left_utime = ins.ReadInt64();

            this.right_utime = ins.ReadInt64();

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.left_class_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.right_class_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.left_x = ins.ReadDouble();

            this.left_y = ins.ReadDouble();

            this.right_x = ins.ReadDouble();

            this.right_y = ins.ReadDouble();

            this.left_box_width = ins.ReadDouble();

            this.left_box_height = ins.ReadDouble();

            this.right_box_width = ins.ReadDouble();

            this.right_box_height = ins.ReadDouble();

            this.conf_left = ins.ReadDouble();

            this.conf_right = ins.ReadDouble();

            this.source = ins.ReadDouble();
        }
Exemplo n.º 3
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.ip_address = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.preset_number = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
Exemplo n.º 4
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.timestamp = ins.ReadInt64();

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

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

            this.num_ranges = ins.ReadInt32();

            this.ranges = new short[(int)num_ranges];
            for (int a = 0; a < this.num_ranges; a++)
            {
                this.ranges[a] = ins.ReadInt16();
            }

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.enabled = ins.ReadBoolean();
        }
Exemplo n.º 5
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.ip_address = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.status_code = ins.ReadInt16();

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

            this.exposure = ins.ReadInt32();

            this.binning = ins.ReadInt32();

            this.framerate = ins.ReadInt32();

            this.exit_app = ins.ReadInt32();
        }
Exemplo n.º 7
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.score_threshold = ins.ReadInt32();

            this.box_deviation = ins.ReadInt32();

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.model_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            this.framerate = ins.ReadInt32();

            this.exit_app = ins.ReadInt32();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.mode = ins.ReadByte();

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.ip_address = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.pan_value = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.tilt_value = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

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

            this.ip_addresses = new String[(int)total_cams];
            for (int a = 0; a < this.total_cams; a++)
            {
                __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.ip_addresses[a] = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
            }

            this.status_code = ins.ReadInt16();

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.response_message = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
Exemplo n.º 10
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.val = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
Exemplo n.º 11
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.cam1_timestamp = ins.ReadDouble();

            this.cam2_timestamp = ins.ReadDouble();

            this.left_utime = ins.ReadInt64();

            this.right_utime = ins.ReadInt64();

            this.sequence = ins.ReadInt64();

            this.camera_orientation = ins.ReadInt32();

            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();
            }
        }
Exemplo n.º 12
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();
        }
Exemplo n.º 13
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.left_boxes = mwt.bounding_box_list_t._decodeRecursiveFactory(ins);

            this.right_boxes = mwt.bounding_box_list_t._decodeRecursiveFactory(ins);
        }
Exemplo n.º 14
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();
            }
        }
        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();
        }
Exemplo n.º 16
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.header = mwt.header_t._decodeRecursiveFactory(ins);

            this.tracking_mode = ins.ReadInt32();

            this.check_epi_err = ins.ReadBoolean();

            this.check_euc_dist = ins.ReadBoolean();

            this.use_wf_tracking = ins.ReadBoolean();

            this.epi_err = ins.ReadDouble();

            this.euc_dist = ins.ReadDouble();

            this.max_epi_err = ins.ReadDouble();

            this.max_euc_dist = ins.ReadDouble();

            this.current_vf_x = ins.ReadDouble();

            this.current_vf_y = ins.ReadDouble();

            this.current_vf_z = ins.ReadDouble();

            this.current_wf_x = ins.ReadDouble();

            this.current_wf_y = ins.ReadDouble();

            this.current_wf_z = ins.ReadDouble();

            this.filter_cached_vf = ins.ReadBoolean();

            this.filter_cached_wf = ins.ReadBoolean();

            this.cached_vf_x = ins.ReadDouble();

            this.cached_vf_y = ins.ReadDouble();

            this.cached_vf_z = ins.ReadDouble();

            this.cached_wf_x = ins.ReadDouble();

            this.cached_wf_y = ins.ReadDouble();

            this.cached_wf_z = ins.ReadDouble();

            this.target_source = ins.ReadDouble();
        }
        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);
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.ip_address = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.profile = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.codec_type = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.resolution = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.frame_rate = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.compression_level = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.channel = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
Exemplo n.º 19
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.left = ins.ReadDouble();

            this.top = ins.ReadDouble();

            this.width = ins.ReadDouble();

            this.height = ins.ReadDouble();

            this.num_classes = ins.ReadSByte();

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

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.class_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }