public override void Randomize() { header = new Messages.std_msgs.Header(); header.Randomize(); goal_id = new Messages.actionlib_msgs.GoalID(); goal_id.Randomize(); goal = new LandingGoal(); goal.Randomize(); }
LandingGoal(LandingGoal g) { target_frame = g.target_frame; source_frame = g.source_frame; source_time = new Time(g.source_time.data); timeout = new Duration(g.timeout.data); target_time = new Time(g.target_time.data); fixed_frame = g.fixed_frame; advanced = g.advanced; }
public override bool Equals(IRosMessage ____other) { if (____other == null) { return(false); } bool ret = true; hector_uav_msgs.LandingGoal other = (hector_uav_msgs.LandingGoal)____other; ret &= target_frame == other.target_frame; ret &= source_frame == other.source_frame; ret &= source_time.data.Equals(other.source_time.data); ret &= timeout.data.Equals(other.timeout.data); ret &= target_time.data.Equals(other.target_time.data); ret &= fixed_frame == other.fixed_frame; ret &= advanced == other.advanced; // for each SingleType st: // ret &= {st.Name} == other.{st.Name}; return(ret); }
public override void Deserialize(byte[] SERIALIZEDSTUFF, ref int currentIndex) { header = new Messages.std_msgs.Header(SERIALIZEDSTUFF, ref currentIndex); goal_id = new Messages.actionlib_msgs.GoalID(SERIALIZEDSTUFF, ref currentIndex); goal = new LandingGoal(SERIALIZEDSTUFF, ref currentIndex); }