private RecognizedObjectMsg(MessageDeserializer deserializer) { this.header = HeaderMsg.Deserialize(deserializer); this.type = ObjectTypeMsg.Deserialize(deserializer); deserializer.Read(out this.confidence); deserializer.Read(out this.point_clouds, Sensor.PointCloud2Msg.Deserialize, deserializer.ReadLength()); this.bounding_mesh = Shape.MeshMsg.Deserialize(deserializer); deserializer.Read(out this.bounding_contours, Geometry.PointMsg.Deserialize, deserializer.ReadLength()); this.pose = Geometry.PoseWithCovarianceStampedMsg.Deserialize(deserializer); }
private GetObjectInformationRequest(MessageDeserializer deserializer) { this.type = ObjectTypeMsg.Deserialize(deserializer); }