You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MSA] joints used by multiple groups are duplicated in ros2_control.xacro #1390
Some robots have multiple groups with similar joints (for instance: arm, arm_with_torso). When this is configured in the MSA, the joints that are present in both groups show up twice in the ros2_control.xacro
changed the title [-]MSA: joints used by multiple groups are duplicated in ros2_control.xacro[/-][+][MSA] joints used by multiple groups are duplicated in ros2_control.xacro[/+]on Jun 27, 2022
Activity
mikeferguson commentedon Jun 26, 2022
FYI @DLu
DLu commentedon Jun 27, 2022
There is a bug where those joints are added to the
joint_names_vector twice but because the generated interfaces areunordered_mapbased, I'm currently not seeing the duplicated values inros2_control.xacro.Are you using the MoveIt config checked in here, @mikeferguson ?
mikeferguson commentedon Jun 27, 2022
That is the latest export (23 hours ago from now) and if you see https://github.com/mikeferguson/ubr_reloaded/blob/ros2/ubr1_moveit/config/ubr1.ros2_control.xacro it has duplicated data
Edit: I did check, and my checkout of MSA matches the feature/msa branch as of right now
mikeferguson commentedon Jun 27, 2022
I did not try a fresh export - maybe this is actually some bug because I edited an existing configuration?
[-]MSA: joints used by multiple groups are duplicated in ros2_control.xacro[/-][+][MSA] joints used by multiple groups are duplicated in ros2_control.xacro[/+]mikeferguson commentedon Jun 29, 2022
The issue appears to be that we do the export by looping over the joint_names_ (which has duplicates): https://github.com/ros-planning/moveit2/blob/6ab20361242cc81dc06913f3ac52486d31c11f5e/moveit_setup_assistant/moveit_setup_controllers/src/control_xacro_config.cpp#L233 - PR incoming