File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
doc/examples/moveit_cpp/launch Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,15 @@ def generate_launch_description():
13
13
.trajectory_execution (file_path = "config/gripper_moveit_controllers.yaml" )
14
14
.planning_pipelines ("ompl" , ["ompl" ])
15
15
.moveit_cpp (
16
- file_path = get_package_share_directory ("moveit2_tutorials" )
17
- + "/config/moveit_cpp.yaml"
16
+ file_path = os .path .join (
17
+ get_package_share_directory ("moveit2_tutorials" ),
18
+ "config" ,
19
+ "moveit_cpp.yaml" ,
20
+ )
18
21
)
19
22
.to_moveit_configs ()
20
23
)
24
+
21
25
# MoveItCpp demo executable
22
26
moveit_cpp_node = Node (
23
27
name = "moveit_cpp_tutorial" ,
@@ -28,9 +32,10 @@ def generate_launch_description():
28
32
)
29
33
30
34
# RViz
31
- rviz_config_file = (
32
- get_package_share_directory ("moveit2_tutorials" )
33
- + "/launch/moveit_cpp_tutorial.rviz"
35
+ rviz_config_file = os .path .join (
36
+ get_package_share_directory ("moveit2_tutorials" ),
37
+ "launch" ,
38
+ "moveit_cpp_tutorial.rviz" ,
34
39
)
35
40
rviz_node = Node (
36
41
package = "rviz2" ,
You can’t perform that action at this time.
0 commit comments