Skip to content

Commit

Permalink
enums
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Apr 30, 2024
1 parent 9e66bc9 commit e87c5b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ros2_video_streamer/ros2_video_streamer_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from cv2.typing import MatLike
from cv_bridge import CvBridge
from rclpy.node import Node
from rclpy.qos import qos_profile_system_default
from rclpy.qos import QoSPresetProfiles
from sensor_msgs.msg import CameraInfo, Image


Expand All @@ -35,12 +35,12 @@ def __init__(self) -> None:
self.image_publisher_ = self.create_publisher(
Image,
self.image_topic_name,
qos_profile_system_default,
QoSPresetProfiles.DEFAULT.value,
)
self.camera_info_publisher_ = self.create_publisher(
CameraInfo,
self.info_topic_name,
qos_profile_system_default,
QoSPresetProfiles.DEFAULT.value,
)

if not os.path.isfile(self.path):
Expand Down

0 comments on commit e87c5b9

Please sign in to comment.