54 msg.error_code = error_code;
56 msg.trajectory.clear();
57 msg.description.clear();
58 msg.processing_time.clear();
62 for (std::size_t i = 0; i < trajectory.size(); ++i)
64 if (trajectory[i]->empty())
70 msg.group_name = trajectory[i]->getGroupName();
72 msg.trajectory.resize(msg.trajectory.size() + 1);
73 trajectory[i]->getRobotTrajectoryMsg(msg.trajectory.back());
74 if (description.size() > i)
75 msg.description.push_back(description[i]);
76 if (processing_time.size() > i)
77 msg.processing_time.push_back(processing_time[i]);