Пример #1
0
        public lcmtypes.camera_center_line_info_t Copy()
        {
            lcmtypes.camera_center_line_info_t outobj = new lcmtypes.camera_center_line_info_t();
            outobj.confidence = this.confidence;

            outobj.length = this.length;

            outobj.a = this.a;

            outobj.b = this.b;

            outobj.c = this.c;

            outobj.d = this.d;

            return(outobj);
        }
Пример #2
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);
            }
        }
Пример #3
0
 public static lcmtypes.camera_center_line_info_t _decodeRecursiveFactory(LCMDataInputStream ins)
 {
     lcmtypes.camera_center_line_info_t o = new lcmtypes.camera_center_line_info_t();
     o._decodeRecursive(ins);
     return(o);
 }