Esempio n. 1
0
 ///<exclude/>
 public Log()
 {
     header = new Header();
     name = string.Empty;
     msg = string.Empty;
     file = string.Empty;
     function = string.Empty;
     topics = new List<string>();
 }
Esempio n. 2
0
 ///<exclude/>
 public Marker()
 {
     header = new Header();
     ns = string.Empty;
     pose = new Pose();
     scale = new Vector3();
     color = new ColorRGBA();
     points = new List<Point>();
     colors = new List<ColorRGBA>();
     text = string.Empty;
     mesh_resource = string.Empty;
 }
Esempio n. 3
0
 ///<exclude/>
 public bool Equals(Header other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.seq.Equals(seq) && other.stamp.Equals(stamp) && other.frame_id.Equals(frame_id);
 }
Esempio n. 4
0
 ///<exclude/>
 public LaserScan()
 {
     header = new Header();
     ranges = new List<float>();
     intensities = new List<float>();
 }
Esempio n. 5
0
 ///<exclude/>
 public void Deserialize(BinaryReader br)
 {
     header = new Header(br);
     angle_min = br.ReadSingle();
     angle_max = br.ReadSingle();
     angle_increment = br.ReadSingle();
     time_increment = br.ReadSingle();
     scan_time = br.ReadSingle();
     range_min = br.ReadSingle();
     range_max = br.ReadSingle();
     ranges = new List<float>(br.ReadInt32()); for(int i=0; i<ranges.Capacity; i++) { var x = br.ReadSingle();ranges.Add(x);}
     intensities = new List<float>(br.ReadInt32()); for(int i=0; i<intensities.Capacity; i++) { var x = br.ReadSingle();intensities.Add(x);}
 }
Esempio n. 6
0
 ///<exclude/>
 public void Deserialize(BinaryReader br)
 {
     header = new Header(br);
     ns = br.ReadUtf8String();
     id = br.ReadInt32();
     type = br.ReadInt32();
     action = br.ReadInt32();
     pose = new Pose(br);
     scale = new Vector3(br);
     color = new ColorRGBA(br);
     lifetime = br.ReadTimeSpan();
     frame_locked = br.ReadBoolean();
     points = new List<Point>(br.ReadInt32()); for(int i=0; i<points.Capacity; i++) { var x = new Point(br);points.Add(x);}
     colors = new List<ColorRGBA>(br.ReadInt32()); for(int i=0; i<colors.Capacity; i++) { var x = new ColorRGBA(br);colors.Add(x);}
     text = br.ReadUtf8String();
     mesh_resource = br.ReadUtf8String();
     mesh_use_embedded_materials = br.ReadBoolean();
 }
 ///<exclude/>
 public void Deserialize(BinaryReader br)
 {
     header = new Header(br);
     child_frame_id = br.ReadUtf8String();
     transform = new Transform(br);
 }
 ///<exclude/>
 public TransformStamped()
 {
     header = new Header();
     child_frame_id = string.Empty;
     transform = new Transform();
 }
Esempio n. 9
0
 ///<exclude/>
 public void Deserialize(BinaryReader br)
 {
     header = new Header(br);
     level = br.ReadByte();
     name = br.ReadUtf8String();
     msg = br.ReadUtf8String();
     file = br.ReadUtf8String();
     function = br.ReadUtf8String();
     line = br.ReadUInt32();
     topics = new List<string>(br.ReadInt32()); for(int i=0; i<topics.Capacity; i++) { var x = br.ReadUtf8String();topics.Add(x);}
 }