Skip to content

Commit 92a1ec0

Browse files
committed
Make trajectory monitoring optional
1 parent 21f6a91 commit 92a1ec0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

capabilities/src/execute_task_solution_capability.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ bool ExecuteTaskSolutionCapability::constructMotionPlan(const moveit_task_constr
151151
// define individual variable for use in closure below
152152
const std::string description = std::to_string(i + 1) + "/" + std::to_string(solution.sub_trajectory.size());
153153
exec_traj.description = description;
154+
exec_traj.trajectory_monitoring = sub_traj.execution_info.trajectory_monitoring;
154155

155156
const moveit::core::JointModelGroup* group = nullptr;
156157
{

msgs/msg/TrajectoryExecutionInfo.msg

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# List of controllers to use when executing the trajectory
22
string[] controller_names
3+
# If true, the trajectory is collision checked before execution.
4+
bool trajectory_monitoring

0 commit comments

Comments
 (0)