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);
 }
 public RecognizedObjectMsg(HeaderMsg header, ObjectTypeMsg type, float confidence, Sensor.PointCloud2Msg[] point_clouds, Shape.MeshMsg bounding_mesh, Geometry.PointMsg[] bounding_contours, Geometry.PoseWithCovarianceStampedMsg pose)
 {
     this.header            = header;
     this.type              = type;
     this.confidence        = confidence;
     this.point_clouds      = point_clouds;
     this.bounding_mesh     = bounding_mesh;
     this.bounding_contours = bounding_contours;
     this.pose              = pose;
 }
 public RecognizedObjectMsg()
 {
     this.header            = new HeaderMsg();
     this.type              = new ObjectTypeMsg();
     this.confidence        = 0.0f;
     this.point_clouds      = new Sensor.PointCloud2Msg[0];
     this.bounding_mesh     = new Shape.MeshMsg();
     this.bounding_contours = new Geometry.PointMsg[0];
     this.pose              = new Geometry.PoseWithCovarianceStampedMsg();
 }
Beispiel #4
0
 private GetObjectInformationRequest(MessageDeserializer deserializer)
 {
     this.type = ObjectTypeMsg.Deserialize(deserializer);
 }
Beispiel #5
0
 public GetObjectInformationRequest(ObjectTypeMsg type)
 {
     this.type = type;
 }
Beispiel #6
0
 public GetObjectInformationRequest()
 {
     this.type = new ObjectTypeMsg();
 }