diff --git a/fanuc_moveit_config/config/fanuc.ros2_control.xacro b/fanuc_moveit_config/config/fanuc.ros2_control.xacro
index 607f9199..e79fb2e6 100644
--- a/fanuc_moveit_config/config/fanuc.ros2_control.xacro
+++ b/fanuc_moveit_config/config/fanuc.ros2_control.xacro
@@ -13,42 +13,54 @@
${initial_positions['joint_1']}
-
+
+ 0.0
+
${initial_positions['joint_2']}
-
+
+ 0.0
+
${initial_positions['joint_3']}
-
+
+ 0.0
+
${initial_positions['joint_4']}
-
+
+ 0.0
+
${initial_positions['joint_5']}
-
+
+ 0.0
+
${initial_positions['joint_6']}
-
+
+ 0.0
+
diff --git a/fanuc_moveit_config/launch/demo.launch.py b/fanuc_moveit_config/launch/demo.launch.py
index 6becbcdf..80ec9541 100644
--- a/fanuc_moveit_config/launch/demo.launch.py
+++ b/fanuc_moveit_config/launch/demo.launch.py
@@ -79,7 +79,10 @@ def generate_launch_description():
ros2_control_node = Node(
package="controller_manager",
executable="ros2_control_node",
- parameters=[moveit_config.robot_description, ros2_controllers_path],
+ parameters=[ros2_controllers_path],
+ remappings=[
+ ("/controller_manager/robot_description", "/robot_description"),
+ ],
output="both",
)
diff --git a/panda_moveit_config/config/panda.ros2_control.xacro b/panda_moveit_config/config/panda.ros2_control.xacro
index addc3384..d66294c9 100644
--- a/panda_moveit_config/config/panda.ros2_control.xacro
+++ b/panda_moveit_config/config/panda.ros2_control.xacro
@@ -20,49 +20,63 @@
${initial_positions['panda_joint1']}
-
+
+ 0.0
+
${initial_positions['panda_joint2']}
-
+
+ 0.0
+
${initial_positions['panda_joint3']}
-
+
+ 0.0
+
${initial_positions['panda_joint4']}
-
+
+ 0.0
+
${initial_positions['panda_joint5']}
-
+
+ 0.0
+
${initial_positions['panda_joint6']}
-
+
+ 0.0
+
${initial_positions['panda_joint7']}
-
+
+ 0.0
+
diff --git a/panda_moveit_config/config/panda_hand.ros2_control.xacro b/panda_moveit_config/config/panda_hand.ros2_control.xacro
index 06d4d177..9adc4f6c 100644
--- a/panda_moveit_config/config/panda_hand.ros2_control.xacro
+++ b/panda_moveit_config/config/panda_hand.ros2_control.xacro
@@ -18,7 +18,9 @@
0.0
-
+
+ 0.0
+
panda_finger_joint1
@@ -27,7 +29,9 @@
0.0
-
+
+ 0.0
+
diff --git a/panda_moveit_config/launch/demo.launch.py b/panda_moveit_config/launch/demo.launch.py
index bdbc12cf..9e7cf8e3 100644
--- a/panda_moveit_config/launch/demo.launch.py
+++ b/panda_moveit_config/launch/demo.launch.py
@@ -116,7 +116,10 @@ def generate_launch_description():
ros2_control_node = Node(
package="controller_manager",
executable="ros2_control_node",
- parameters=[moveit_config.robot_description, ros2_controllers_path],
+ parameters=[ros2_controllers_path],
+ remappings=[
+ ("/controller_manager/robot_description", "/robot_description"),
+ ],
output="screen",
)