Skip to content

Commit 919531b

Browse files
committed
shorten description of trajectory component
info's id and stage_id are not always filled
1 parent 4634862 commit 919531b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

capabilities/src/execute_task_solution_capability.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,7 @@ bool ExecuteTaskSolutionCapability::constructMotionPlan(const moveit_task_constr
143143
plan_execution::ExecutableTrajectory& exec_traj = plan.plan_components_.back();
144144

145145
// define individual variable for use in closure below
146-
const std::string description = std::to_string(i + 1) + "/" + std::to_string(solution.sub_trajectory.size()) +
147-
" - subsolution " + std::to_string(sub_traj.info.id) + " of stage " +
148-
std::to_string(sub_traj.info.stage_id);
149-
146+
const std::string description = std::to_string(i + 1) + "/" + std::to_string(solution.sub_trajectory.size());
150147
exec_traj.description_ = description;
151148

152149
const moveit::core::JointModelGroup* group = nullptr;

0 commit comments

Comments
 (0)