public override bool Equals(IRosMessage ____other) { if (____other == null) { return(false); } bool ret = true; geometry_msgs.PoseStamped other = (Messages.geometry_msgs.PoseStamped)____other; ret &= header.Equals(other.header); ret &= pose.Equals(other.pose); // for each SingleType st: // ret &= {st.Name} == other.{st.Name}; return(ret); }
public GetPlanRequest(geometry_msgs.PoseStamped start, geometry_msgs.PoseStamped goal, float tolerance) { this.start = start; this.goal = goal; this.tolerance = tolerance; }
public GetPlanRequest() { this.start = new geometry_msgs.PoseStamped(); this.goal = new geometry_msgs.PoseStamped(); this.tolerance = 0.0f; }
/// <summary> /// Extends type <c>geometry_msgs.PoseStamped</c> with a method <c>ToPose</c>, which creates a corresponding pose. /// </summary> /// <param name="poseStamped">A time stamped pose message</param> /// <returns>Returns an instance of <c>Pose</c>.</returns> public static Pose ToPose(this geometry_msgs.PoseStamped poseStamped) => ToPose(poseStamped.pose, poseStamped.header.frame_id);