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); }
public Transform() { translation = new geometry_msgs.Vector3(); rotation = new geometry_msgs.Quaternion(); }
/// <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);
public QuaternionStamped() { header = new std_msgs.Header(); quaternion = new geometry_msgs.Quaternion(); }
public Pose() { position = new geometry_msgs.Point(); orientation = new geometry_msgs.Quaternion(); }