-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented with reference to ERAU-Projects/usb_cam@89dd4ca Changes: 1. Uses latest version of usb_cam 2. Uses OpenCV cv2 3. Cleaner flip implementation Please pass parameters in from launch file
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<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="usb_cam" /> | ||
<param name="io_method" value="mmap"/> | ||
<param name="image_flip" value="true"/> | ||
<param name="image_flip_code" value="0"/> | ||
</node> | ||
<node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen"> | ||
<remap from="image" to="/usb_cam/image_raw"/> | ||
<param name="autosize" value="true" /> | ||
</node> | ||
</launch> |
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