Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,12 @@ class Ros2ControlManager : public moveit_controller_manager::MoveItControllerMan
dependency_map_reverse_.clear();
for (auto& controller : result->controller)
{
if (controller.chain_connections.size() > 1)
if (isActive(controller) && controller.chain_connections.size() > 1)
{
RCLCPP_ERROR_STREAM(getLogger(),
"Controller with name %s chains to more than one controller. Chaining to more than "
"one controller is not supported.");
RCLCPP_ERROR_STREAM(getLogger(), "Controller with name "
<< controller.name
<< " chains to more than one controller. "
"Chaining to more than one controller is not supported.");
return false;
}
for (const auto& chained_controller : controller.chain_connections)
Expand Down
Loading