public InteractiveMarkerFeedbackMsg(Std.HeaderMsg header, string client_id, string marker_name, string control_name, byte event_type, Geometry.PoseMsg pose, uint menu_entry_id, Geometry.PointMsg mouse_point, bool mouse_point_valid)
 {
     this.header            = header;
     this.client_id         = client_id;
     this.marker_name       = marker_name;
     this.control_name      = control_name;
     this.event_type        = event_type;
     this.pose              = pose;
     this.menu_entry_id     = menu_entry_id;
     this.mouse_point       = mouse_point;
     this.mouse_point_valid = mouse_point_valid;
 }
 private InteractiveMarkerFeedbackMsg(MessageDeserializer deserializer)
 {
     this.header = Std.HeaderMsg.Deserialize(deserializer);
     deserializer.Read(out this.client_id);
     deserializer.Read(out this.marker_name);
     deserializer.Read(out this.control_name);
     deserializer.Read(out this.event_type);
     this.pose = Geometry.PoseMsg.Deserialize(deserializer);
     deserializer.Read(out this.menu_entry_id);
     this.mouse_point = Geometry.PointMsg.Deserialize(deserializer);
     deserializer.Read(out this.mouse_point_valid);
 }
 public InteractiveMarkerFeedbackMsg()
 {
     this.header            = new Std.HeaderMsg();
     this.client_id         = "";
     this.marker_name       = "";
     this.control_name      = "";
     this.event_type        = 0;
     this.pose              = new Geometry.PoseMsg();
     this.menu_entry_id     = 0;
     this.mouse_point       = new Geometry.PointMsg();
     this.mouse_point_valid = false;
 }
예제 #4
0
 private ImageMarkerMsg(MessageDeserializer deserializer)
 {
     this.header = Std.HeaderMsg.Deserialize(deserializer);
     deserializer.Read(out this.ns);
     deserializer.Read(out this.id);
     deserializer.Read(out this.type);
     deserializer.Read(out this.action);
     this.position = Geometry.PointMsg.Deserialize(deserializer);
     deserializer.Read(out this.scale);
     this.outline_color = Std.ColorRGBAMsg.Deserialize(deserializer);
     deserializer.Read(out this.filled);
     this.fill_color = Std.ColorRGBAMsg.Deserialize(deserializer);
     this.lifetime   = BuiltinInterfaces.DurationMsg.Deserialize(deserializer);
     deserializer.Read(out this.points, Geometry.PointMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.outline_colors, Std.ColorRGBAMsg.Deserialize, deserializer.ReadLength());
 }
예제 #5
0
 public ImageMarkerMsg(Std.HeaderMsg header, string ns, int id, int type, int action, Geometry.PointMsg position, float scale, Std.ColorRGBAMsg outline_color, byte filled, Std.ColorRGBAMsg fill_color, BuiltinInterfaces.DurationMsg lifetime, Geometry.PointMsg[] points, Std.ColorRGBAMsg[] outline_colors)
 {
     this.header         = header;
     this.ns             = ns;
     this.id             = id;
     this.type           = type;
     this.action         = action;
     this.position       = position;
     this.scale          = scale;
     this.outline_color  = outline_color;
     this.filled         = filled;
     this.fill_color     = fill_color;
     this.lifetime       = lifetime;
     this.points         = points;
     this.outline_colors = outline_colors;
 }
예제 #6
0
 public ImageMarkerMsg()
 {
     this.header         = new Std.HeaderMsg();
     this.ns             = "";
     this.id             = 0;
     this.type           = 0;
     this.action         = 0;
     this.position       = new Geometry.PointMsg();
     this.scale          = 0.0f;
     this.outline_color  = new Std.ColorRGBAMsg();
     this.filled         = 0;
     this.fill_color     = new Std.ColorRGBAMsg();
     this.lifetime       = new BuiltinInterfaces.DurationMsg();
     this.points         = new Geometry.PointMsg[0];
     this.outline_colors = new Std.ColorRGBAMsg[0];
 }
 private BoundingBoxQueryRequest(MessageDeserializer deserializer)
 {
     this.min = Geometry.PointMsg.Deserialize(deserializer);
     this.max = Geometry.PointMsg.Deserialize(deserializer);
 }
 public BoundingBoxQueryRequest(Geometry.PointMsg min, Geometry.PointMsg max)
 {
     this.min = min;
     this.max = max;
 }
 public BoundingBoxQueryRequest()
 {
     this.min = new Geometry.PointMsg();
     this.max = new Geometry.PointMsg();
 }