Skip to content

Commit

Permalink
Update vrx.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thadavale authored Oct 21, 2024
1 parent 67f50d7 commit 7318f06
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ def cleanup(self):
async def init_front_left_camera(cls):
if cls.front_left_camera_sub is None:
cls.front_left_camera_sub = cls.nh.subscribe(
"/cameras/front/left/image_raw",
"/camera/front/left/image_raw",
Image,
)

if cls.front_left_camera_info_sub is None:
cls.front_left_camera_info_sub = cls.nh.subscribe(
"/cameras/front/left/camera_info",
"/camera/front/left/camera_info",
CameraInfo,
)

Expand All @@ -153,13 +153,13 @@ async def init_front_left_camera(cls):
async def init_front_right_camera(cls):
if cls.front_right_camera_sub is None:
cls.front_right_camera_sub = cls.nh.subscribe(
"/cameras/front/right/image_raw",
"/camera/front/right/image_raw",
Image,
)

if cls.front_right_camera_info_sub is None:
cls.front_right_camera_info_sub = cls.nh.subscribe(
"/cameras/front/right/camera_info",
"/camera/front/right/camera_info",
CameraInfo,
)

Expand Down

0 comments on commit 7318f06

Please sign in to comment.