예제 #1
0
 public Primitive(string _id, string _shape, std_msgs.ColorRGBA _color, geometry_msgs.Pose _pose, geometry_msgs.Vector3 _scale)
 {
     id = _id;
     shape = _shape;
     pose = _pose;
     scale = _scale;
 }
예제 #2
0
            public Primitive()
            {
                id = "";
                shape = "cube";

                color = new std_msgs.ColorRGBA();
                pose = new geometry_msgs.Pose();
                scale = new geometry_msgs.Vector3();
            }
예제 #3
0
 public ImageMarker(std_msgs.Header header, string ns, System.Int32 id, System.Int32 type, System.Int32 action, UnityEngine.Vector3 position, float scale, std_msgs.ColorRGBA outline_color, byte filled, std_msgs.ColorRGBA fill_color, SIGVerse.RosBridge.msg_helpers.Duration lifetime, System.Collections.Generic.List <UnityEngine.Vector3> points, System.Collections.Generic.List <std_msgs.ColorRGBA> 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;
 }
예제 #4
0
 public ImageMarker()
 {
     this.header         = new std_msgs.Header();
     this.ns             = "";
     this.id             = 0;
     this.type           = 0;
     this.action         = 0;
     this.position       = new UnityEngine.Vector3();
     this.scale          = 0.0f;
     this.outline_color  = new std_msgs.ColorRGBA();
     this.filled         = 0;
     this.fill_color     = new std_msgs.ColorRGBA();
     this.lifetime       = new SIGVerse.RosBridge.msg_helpers.Duration();
     this.points         = new System.Collections.Generic.List <UnityEngine.Vector3>();
     this.outline_colors = new System.Collections.Generic.List <std_msgs.ColorRGBA>();
 }
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            std_msgs.ColorRGBA other = (Messages.std_msgs.ColorRGBA)____other;

            ret &= r == other.r;
            ret &= g == other.g;
            ret &= b == other.b;
            ret &= a == other.a;
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
예제 #6
0
 public Marker(std_msgs.Header header, string ns, System.Int32 id, System.Int32 type, System.Int32 action, geometry_msgs.Pose pose, UnityEngine.Vector3 scale, std_msgs.ColorRGBA color, SIGVerse.RosBridge.msg_helpers.Duration lifetime, bool frame_locked, System.Collections.Generic.List <UnityEngine.Vector3> points, System.Collections.Generic.List <std_msgs.ColorRGBA> colors, string text, string mesh_resource, bool mesh_use_embedded_materials)
 {
     this.header        = header;
     this.ns            = ns;
     this.id            = id;
     this.type          = type;
     this.action        = action;
     this.pose          = pose;
     this.scale         = scale;
     this.color         = color;
     this.lifetime      = lifetime;
     this.frame_locked  = frame_locked;
     this.points        = points;
     this.colors        = colors;
     this.text          = text;
     this.mesh_resource = mesh_resource;
     this.mesh_use_embedded_materials = mesh_use_embedded_materials;
 }
예제 #7
0
 public Marker()
 {
     this.header        = new std_msgs.Header();
     this.ns            = "";
     this.id            = 0;
     this.type          = 0;
     this.action        = 0;
     this.pose          = new geometry_msgs.Pose();
     this.scale         = new UnityEngine.Vector3();
     this.color         = new std_msgs.ColorRGBA();
     this.lifetime      = new SIGVerse.RosBridge.msg_helpers.Duration();
     this.frame_locked  = false;
     this.points        = new System.Collections.Generic.List <UnityEngine.Vector3>();
     this.colors        = new System.Collections.Generic.List <std_msgs.ColorRGBA>();
     this.text          = "";
     this.mesh_resource = "";
     this.mesh_use_embedded_materials = false;
 }