Esempio n. 1
0
 private MultiDOFJointTrajectoryPointMsg(MessageDeserializer deserializer)
 {
     deserializer.Read(out this.transforms, Geometry.TransformMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.velocities, Geometry.TwistMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.accelerations, Geometry.TwistMsg.Deserialize, deserializer.ReadLength());
     this.time_from_start = BuiltinInterfaces.DurationMsg.Deserialize(deserializer);
 }
Esempio n. 2
0
 public MultiDOFJointTrajectoryPointMsg(Geometry.TransformMsg[] transforms, Geometry.TwistMsg[] velocities, Geometry.TwistMsg[] accelerations, BuiltinInterfaces.DurationMsg time_from_start)
 {
     this.transforms      = transforms;
     this.velocities      = velocities;
     this.accelerations   = accelerations;
     this.time_from_start = time_from_start;
 }
Esempio n. 3
0
 public MultiDOFJointTrajectoryPointMsg()
 {
     this.transforms      = new Geometry.TransformMsg[0];
     this.velocities      = new Geometry.TwistMsg[0];
     this.accelerations   = new Geometry.TwistMsg[0];
     this.time_from_start = new BuiltinInterfaces.DurationMsg();
 }
 private JointTrajectoryPointMsg(MessageDeserializer deserializer)
 {
     deserializer.Read(out this.positions, sizeof(double), deserializer.ReadLength());
     deserializer.Read(out this.velocities, sizeof(double), deserializer.ReadLength());
     deserializer.Read(out this.accelerations, sizeof(double), deserializer.ReadLength());
     deserializer.Read(out this.effort, sizeof(double), deserializer.ReadLength());
     this.time_from_start = BuiltinInterfaces.DurationMsg.Deserialize(deserializer);
 }
 public JointTrajectoryPointMsg(double[] positions, double[] velocities, double[] accelerations, double[] effort, BuiltinInterfaces.DurationMsg time_from_start)
 {
     this.positions       = positions;
     this.velocities      = velocities;
     this.accelerations   = accelerations;
     this.effort          = effort;
     this.time_from_start = time_from_start;
 }
 public JointTrajectoryPointMsg()
 {
     this.positions       = new double[0];
     this.velocities      = new double[0];
     this.accelerations   = new double[0];
     this.effort          = new double[0];
     this.time_from_start = new BuiltinInterfaces.DurationMsg();
 }
Esempio n. 7
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());
 }
Esempio n. 8
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;
 }
Esempio n. 9
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];
 }
Esempio n. 10
0
 public MarkerMsg(Std.HeaderMsg header, string ns, int id, int type, int action, Geometry.PoseMsg pose, Geometry.Vector3Msg scale, Std.ColorRGBAMsg color, BuiltinInterfaces.DurationMsg lifetime, bool frame_locked, Geometry.PointMsg[] points, Std.ColorRGBAMsg[] 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;
 }
Esempio n. 11
0
 public MarkerMsg()
 {
     this.header        = new Std.HeaderMsg();
     this.ns            = "";
     this.id            = 0;
     this.type          = 0;
     this.action        = 0;
     this.pose          = new Geometry.PoseMsg();
     this.scale         = new Geometry.Vector3Msg();
     this.color         = new Std.ColorRGBAMsg();
     this.lifetime      = new BuiltinInterfaces.DurationMsg();
     this.frame_locked  = false;
     this.points        = new Geometry.PointMsg[0];
     this.colors        = new Std.ColorRGBAMsg[0];
     this.text          = "";
     this.mesh_resource = "";
     this.mesh_use_embedded_materials = false;
 }
Esempio n. 12
0
 private MarkerMsg(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.pose     = Geometry.PoseMsg.Deserialize(deserializer);
     this.scale    = Geometry.Vector3Msg.Deserialize(deserializer);
     this.color    = Std.ColorRGBAMsg.Deserialize(deserializer);
     this.lifetime = BuiltinInterfaces.DurationMsg.Deserialize(deserializer);
     deserializer.Read(out this.frame_locked);
     deserializer.Read(out this.points, Geometry.PointMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.colors, Std.ColorRGBAMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.text);
     deserializer.Read(out this.mesh_resource);
     deserializer.Read(out this.mesh_use_embedded_materials);
 }