Skip to content

Conversation

thomaspeyrucain
Copy link

Description

Hello Moveit Team,

When trying to control TIAGo Pro using moveit in Rviz I got this error:

[move_group-1] [ERROR] [1755075355.583941867] [moveit.plugins.ros_control_interface]: Controller with name %s chains to more than one controller. Chaining to more than one controller is not supported.
[move_group-1] [ERROR] [1755075355.584044598] [moveit_ros.trajectory_execution_manager]: Unable to identify any set of controllers that can actuate the specified joints: [ arm_left_1_joint arm_left_2_joint arm_left_3_joint arm_left_4_joint arm_left_5_joint arm_left_6_joint arm_left_7_joint ]
[move_group-1] [ERROR] [1755075355.584057241] [moveit_ros.trajectory_execution_manager]: Known controllers and their joints:
[move_group-1] 

This was due to a controller that is expected to be chained to several other controllers to be able to work, however this controller is not active when I did the test, it is just spawned by default in inactive

My change is to check chained controller only for active controllers and to fix the error message

Would this work or you prefer this to be fixed differently ?

Copy link

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

@github-actions github-actions bot added the stale Inactive issues and PRs are marked as stale and may be closed automatically. label Sep 30, 2025
@thomaspeyrucain
Copy link
Author

Hello @henningkayser @tylerjw ,
Would it be possible to review this MR ?

@github-actions github-actions bot removed the stale Inactive issues and PRs are marked as stale and may be closed automatically. label Oct 2, 2025
@MarqRazz MarqRazz added the backport-jazzy Mergify label that triggers a PR backport to Jazzy label Oct 6, 2025
for (auto& controller : result->controller)
{
if (controller.chain_connections.size() > 1)
if (isActive(controller) && controller.chain_connections.size() > 1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a way to verify this so any test you could add would be extremely helpful.

Example scenario:

arm_1_JTC active
arm_2_JTC active
arm_3_chained inactive or active

Can you confirm that when controller = arm_1_JTC, controller.chain_connections.size() == 0
and when controller = arm_3_chained, controller.chain_connections.size() == 1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-jazzy Mergify label that triggers a PR backport to Jazzy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants