Example #1
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.centerPoint = lcmtypes.float_point_2d_t._decodeRecursiveFactory(ins);

            this.id = ins.ReadInt16();

            this.type = ins.ReadByte();

            this.brake = ins.ReadByte();

            this.turn = ins.ReadByte();

            this.speedLon = ins.ReadSingle();

            this.speedLat = ins.ReadSingle();

            this.angle = ins.ReadSingle();

            this.confidence = ins.ReadSingle();

            this.width = ins.ReadSingle();

            this.height = ins.ReadSingle();

            this.length = ins.ReadSingle();
        }
Example #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();
        }
        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();
            }
        }
Example #4
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.operation_type = ins.ReadByte();
        }
Example #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);
        }
        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);
        }
Example #7
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);
        }
Example #8
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();
        }
Example #9
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);
        }
Example #10
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();
        }
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.confidence = ins.ReadSingle();

            this.type = ins.ReadByte();

            this.lineColor = ins.ReadByte();

            this.length = ins.ReadSingle();

            this.a = ins.ReadSingle();

            this.b = ins.ReadSingle();

            this.c = ins.ReadSingle();

            this.d = ins.ReadSingle();
        }
Example #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.left_boxes = mwt.bounding_box_list_t._decodeRecursiveFactory(ins);

            this.right_boxes = mwt.bounding_box_list_t._decodeRecursiveFactory(ins);
        }
Example #13
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;
            __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);
        }
        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);
        }
Example #17
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;
            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);
        }
Example #19
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);
            }
        }