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 ObjectInformationMsg(MessageDeserializer deserializer)
 {
     deserializer.Read(out this.name);
     this.ground_truth_mesh        = Shape.MeshMsg.Deserialize(deserializer);
     this.ground_truth_point_cloud = Sensor.PointCloud2Msg.Deserialize(deserializer);
 }
Beispiel #5
0
 public ObjectInformationMsg(string name, Shape.MeshMsg ground_truth_mesh, Sensor.PointCloud2Msg ground_truth_point_cloud)
 {
     this.name = name;
     this.ground_truth_mesh        = ground_truth_mesh;
     this.ground_truth_point_cloud = ground_truth_point_cloud;
 }
Beispiel #6
0
 public ObjectInformationMsg()
 {
     this.name = "";
     this.ground_truth_mesh        = new Shape.MeshMsg();
     this.ground_truth_point_cloud = new Sensor.PointCloud2Msg();
 }