Exemplo n.º 1
0
 public void serialize(ByteBuffer bb, int seq) {
   workspace_parameters.serialize(bb, seq);
   start_state.serialize(bb, seq);
   goal_constraints.serialize(bb, seq);
   path_constraints.serialize(bb, seq);
   Serialization.writeString(bb, planner_id);
   Serialization.writeString(bb, group_name);
   bb.putInt(num_planning_attempts);
   Serialization.writeDuration(bb, allowed_planning_time);
   Serialization.writeDuration(bb, expected_path_duration);
   Serialization.writeDuration(bb, expected_path_dt);
 }
Exemplo n.º 2
0
 public void deserialize(ByteBuffer bb) {
   workspace_parameters.deserialize(bb);
   start_state.deserialize(bb);
   goal_constraints.deserialize(bb);
   path_constraints.deserialize(bb);
   planner_id = Serialization.readString(bb);
   group_name = Serialization.readString(bb);
   num_planning_attempts = bb.getInt();
   allowed_planning_time = Serialization.readDuration(bb);
   expected_path_duration = Serialization.readDuration(bb);
   expected_path_dt = Serialization.readDuration(bb);
 }
Exemplo n.º 3
0
 public int serializationLength() {
   int __l = 0;
   __l += workspace_parameters.serializationLength();
   __l += start_state.serializationLength();
   __l += goal_constraints.serializationLength();
   __l += path_constraints.serializationLength();
   __l += 4 + planner_id.length();
   __l += 4 + group_name.length();
   __l += 4; // num_planning_attempts
   __l += 8; // allowed_planning_time
   __l += 8; // expected_path_duration
   __l += 8; // expected_path_dt
   return __l;
 }
Exemplo n.º 4
0
 @SuppressWarnings("all")
 public boolean equals(Object o) {
   if (!(o instanceof MotionPlanRequest)) return false;
   MotionPlanRequest other = (MotionPlanRequest) o;
   return workspace_parameters.equals(other.workspace_parameters)
       && start_state.equals(other.start_state)
       && goal_constraints.equals(other.goal_constraints)
       && path_constraints.equals(other.path_constraints)
       && planner_id.equals(other.planner_id)
       && group_name.equals(other.group_name)
       && num_planning_attempts == other.num_planning_attempts
       && allowed_planning_time.equals(other.allowed_planning_time)
       && expected_path_duration.equals(other.expected_path_duration)
       && expected_path_dt.equals(other.expected_path_dt)
       && true;
 }