Skip to content

Commit 410a0c2

Browse files
committed
[clearpath_sensors] Updated the StereoLabs Zed topic remapping to reflect changes in the driver.
1 parent 9bb477d commit 410a0c2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

clearpath_sensors/launch/stereolabs_zed.launch.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
('rgb_gray', 'color/gray'),
5757
('rgb_raw', 'color/raw'),
5858
('rgb_raw_gray', 'color/raw_gray'),
59+
('rgb/color/rect/image', 'color'),
5960
# Right
6061
('right', 'right'),
6162
('right_gray', 'right/gray'),
@@ -132,6 +133,14 @@ def generate_launch_description():
132133
image = 'image_raw_color'
133134
elif 'gray' in old:
134135
image = 'image_rect_gray'
136+
elif 'rgb/color/rect/image' in old:
137+
image = 'color'
138+
remappings.extend([
139+
('~/%s/camera_info' % (old),
140+
PathJoinSubstitution(['/', namespace, new, 'camera_info'])),
141+
('~/%s' % (old),
142+
PathJoinSubstitution(['/', namespace, new, 'image'])),
143+
])
135144
else:
136145
image = 'image_rect_color'
137146
remappings.extend([

0 commit comments

Comments
 (0)