Skip to content

Commit 761abe0

Browse files
committed
servo launch
Signed-off-by: Hye-jong KIM <[email protected]>
1 parent c350bfc commit 761abe0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

turtlebot3_manipulation_moveit_config/launch/servo.launch.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ def generate_launch_description():
6363
"robot_description_semantic": robot_description_semantic_config
6464
}
6565

66+
# kinematics yaml
67+
kinematics_yaml_path = os.path.join(
68+
get_package_share_directory("turtlebot3_manipulation_moveit_config"),
69+
"config",
70+
"kinematics.yaml",
71+
)
72+
with open(kinematics_yaml_path, "r") as file:
73+
kinematics_yaml = yaml.safe_load(file)
74+
6675
# Get parameters for the Servo node
6776
servo_yaml_path = os.path.join(
6877
get_package_share_directory("turtlebot3_manipulation_moveit_config"),
@@ -84,6 +93,7 @@ def generate_launch_description():
8493
servo_params,
8594
robot_description,
8695
robot_description_semantic,
96+
kinematics_yaml,
8797
]
8898
)
8999
ld.add_action(servo_node)

0 commit comments

Comments
 (0)