Ejemplo n.º 1
0
 public Imu()
 {
     header                         = new std_msgs.Header();
     orientation                    = new geometry_msgs.Quaternion();
     orientation_covariance         = new double[9];
     angular_velocity               = new geometry_msgs.Vector3();
     angular_velocity_covariance    = new double[9];
     linear_acceleration            = new geometry_msgs.Vector3();
     linear_acceleration_covariance = new double[9];
 }
Ejemplo n.º 2
0
 public Imu()
 {
     header = new std_msgs.Header();
     orientation = new geometry_msgs.Quaternion();
     orientation_covariance = new double[9];
     angular_velocity = new geometry_msgs.Vector3();
     angular_velocity_covariance = new double[9];
     linear_acceleration = new geometry_msgs.Vector3();
     linear_acceleration_covariance = new double[9];
 }
        public override bool Equals(IRosMessage ____other)
        {
            if (____other == null)
            {
                return(false);
            }
            bool ret = true;

            geometry_msgs.Quaternion other = (Messages.geometry_msgs.Quaternion)____other;

            ret &= x == other.x;
            ret &= y == other.y;
            ret &= z == other.z;
            ret &= w == other.w;
            // for each SingleType st:
            //    ret &= {st.Name} == other.{st.Name};
            return(ret);
        }
Ejemplo n.º 4
0
 public Transform()
 {
     translation = new geometry_msgs.Vector3();
     rotation    = new geometry_msgs.Quaternion();
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Extends type <c>geometry_msgs.Quaternion</c> with a method <c>ToQuaternion</c>, which creates a corresponding quaternion.
 /// </summary>
 /// <param name="point">The quaternion message</param>
 /// <returns>Returns an instance of <c>Quaternion</c>.</returns>
 public static Quaternion ToQuaternion(this geometry_msgs.Quaternion value) =>
 new Quaternion((float)value.x, (float)value.y, (float)value.z, (float)value.w);
Ejemplo n.º 6
0
 public Transform()
 {
     translation = new geometry_msgs.Vector3();
     rotation = new geometry_msgs.Quaternion();
 }
 public QuaternionStamped()
 {
     header     = new std_msgs.Header();
     quaternion = new geometry_msgs.Quaternion();
 }
Ejemplo n.º 8
0
 public Pose()
 {
     position    = new geometry_msgs.Point();
     orientation = new geometry_msgs.Quaternion();
 }
Ejemplo n.º 9
0
 public Pose()
 {
     position = new geometry_msgs.Point();
     orientation = new geometry_msgs.Quaternion();
 }
Ejemplo n.º 10
0
 public QuaternionStamped()
 {
     header = new std_msgs.Header();
     quaternion = new geometry_msgs.Quaternion();
 }