public void _decodeRecursive(LCMDataInputStream ins) { byte[] __strbuf = null; 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) { this.utc_time_secs = ins.ReadDouble(); this.position_fix_ind = ins.ReadInt16(); this.satellites_used = ins.ReadInt16(); this.hdop = ins.ReadDouble(); this.undulation_m = ins.ReadDouble(); this.diff_correction_age_s = ins.ReadDouble(); this.diff_station_id = ins.ReadInt16(); }
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(); }
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(); }
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); }
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); } }
public void _decodeRecursive(LCMDataInputStream ins) { this.line_num = ins.ReadInt16(); }