Skip to content

Commit 59cc7ee

Browse files
author
cobot
committed
fix race condition in kinova_gen3_7dof_robotiq_2f_85_moveit_config/launch/robot.launch.py
1 parent c864a64 commit 59cc7ee

File tree

1 file changed

+6
-2
lines changed
  • kortex_moveit_config/kinova_gen3_7dof_robotiq_2f_85_moveit_config/launch

1 file changed

+6
-2
lines changed

kortex_moveit_config/kinova_gen3_7dof_robotiq_2f_85_moveit_config/launch/robot.launch.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,13 @@ def launch_setup(context, *args, **kwargs):
109109
ros2_control_node = Node(
110110
package="controller_manager",
111111
executable="ros2_control_node",
112-
parameters=[ros2_controllers_path],
112+
parameters=[
113+
moveit_config.robot_description, # <-- add this line
114+
ros2_controllers_path,
115+
{"update_rate": 1000},
116+
],
113117
remappings=[
114-
("/controller_manager/robot_description", "/robot_description"),
118+
("/controller_manager/robot_description", "/robot_description"), # you can keep this
115119
],
116120
output="both",
117121
)

0 commit comments

Comments
 (0)