Created
November 11, 2018 23:59
-
-
Save drofp/1e7a6e3c4112ee5cf4de8f9812565151 to your computer and use it in GitHub Desktop.
To get usb_cam to work with darknet_ros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<launch> | |
<node name="usb_cam" pkg="usb_cam" type="usb_cam_node" output="screen" > | |
<param name="video_device" value="/dev/video1" /> | |
<param name="image_width" value="640" /> | |
<param name="image_height" value="480" /> | |
<param name="pixel_format" value="yuyv" /> | |
<param name="camera_frame_id" value="camera/rgb" /> | |
<param name="io_method" value="mmap"/> | |
<remap from="/usb_cam/image_raw" to="/camera/rgb/image_raw"/> | |
</node> | |
<!--node name="image_view" pkg="image_view" type="image_view" respawn="true" output="screen"> | |
<remap from="image" to="/usb_camera/image_raw"/> | |
<param name="autosize" value="true" /> | |
</node--> | |
</launch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Francisco-Ibarra07