コード例 #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();
        }
コード例 #2
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.body_pos = new float[(int)3];
            for (int a = 0; a < 3; a++)
            {
                this.body_pos[a] = ins.ReadSingle();
            }

            this.body_ori = new float[(int)3];
            for (int a = 0; a < 3; a++)
            {
                this.body_ori[a] = ins.ReadSingle();
            }
        }
コード例 #3
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();
        }
コード例 #4
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            this.confidence = ins.ReadSingle();

            this.length = ins.ReadSingle();

            this.a = ins.ReadSingle();

            this.b = ins.ReadSingle();

            this.c = ins.ReadSingle();

            this.d = ins.ReadSingle();
        }
コード例 #5
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);
            }
        }