Match realsense depth topic name

This commit is contained in:
Michel Breyer
2021-09-11 21:02:14 +02:00
parent 65bdb5422d
commit 8d3f2c1a1a
2 changed files with 3 additions and 3 deletions

View File

@@ -297,7 +297,7 @@ class CameraPlugin(Plugin):
def init_publishers(self):
topic = self.name + "/depth/camera_info"
self.info_pub = rospy.Publisher(topic, CameraInfo, queue_size=10)
topic = self.name + "/depth/image_raw"
topic = self.name + "/depth/image_rect_raw"
self.depth_pub = rospy.Publisher(topic, Image, queue_size=10)
def update(self):