Skip to content

Commit bb901d8

Browse files
committed
Perception: Adjusting to the changes made that were meant to address #708
1 parent 22ce5ba commit bb901d8

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

doc/examples/perception_pipeline/launch/detect_and_add_cylinder_collision_object_demo.launch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<include file="$(find-pkg-share moveit2_tutorials)/launch/obstacle_avoidance_demo.launch.xml" />
33

44
<!-- Run the detection and adding cylinder node -->
5-
<node pkg="moveit2_tutorials" exec="cylinder_segment" name="point_cloud_preprocessor" />
5+
<node pkg="moveit2_tutorials" exec="detect_and_add_cylinder_collision_object_demo" name="point_cloud_preprocessor" />
66

77
</launch>

doc/examples/perception_pipeline/launch/obstacle_avoidance_demo.launch.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,24 @@
22
<arg name="bagfile" default="$(find-pkg-share moveit2_tutorials)/bags/perception_tutorial.bag" />
33
<arg name="launchfile_panda"
44
default="$(find-pkg-share moveit_resources_panda_moveit_config)/launch/demo.launch.py" />
5-
65
<!--
76
In this tutorial we wait much longer for the robot transforms than we usually would,
87
because the user's machine might be quite slow.
8+
Arg name is shortened although the final lengthy Param name is: 'robot_description_planning/shape_transform_cache_lookup_wait_tim'
99
-->
10-
<param name="robot_description_planning/shape_transform_cache_lookup_wait_time" value="0.5" />
10+
<arg name="shape_transform_cache_lookup_wait_time"
11+
default="0.5" />
1112

1213
<!-- Play the rosbag that contains the pointcloud data -->
1314
<executable cmd="ros2 bag play -l $(var bagfile)" output="screen" />
1415

15-
<include file="$(var launchfile_panda)" />
16+
<include file="$(var launchfile_panda)">
17+
<arg name="shape_transform_cache_lookup_wait_time"
18+
value="$(var shape_transform_cache_lookup_wait_time)" />
19+
</include>
1620

1721
<!-- If needed, broadcast static tf for robot root -->
1822
<node pkg="tf2_ros" exec="static_transform_publisher" name="to_panda" args="0 0 0 0 0 0 world panda_link0" />
19-
<node pkg="tf2_ros" type="static_transform_publisher" name="to_camera" args="0.00 -.40 0.60 0.19 0.07 -1.91 world camera_rgb_optical_frame" />
23+
<node pkg="tf2_ros" exec="static_transform_publisher" name="to_camera" args="0.00 -.40 0.60 0.19 0.07 -1.91 world camera_rgb_optical_frame" />
2024

2125
</launch>

0 commit comments

Comments
 (0)