Created
October 7, 2015 15:47
-
-
Save jbohren/4be3e7cf96fa25c36188 to your computer and use it in GitHub Desktop.
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> | |
<!-- This launchfile should bring up a node that broadcasts a ros image | |
transport on /videofile/image_raw --> | |
<arg name="FILENAME"/> | |
<arg name="LOOP" default="true"/> | |
<arg name="PUBLISH_FRAME" default="false"/> | |
<node ns="videofile" name="gscam_driver_v4l" pkg="gscam" type="gscam" output="screen"> | |
<param name="camera_name" value="default"/> | |
<param name="camera_info_url" value="package://gscam/examples/uncalibrated_parameters.ini"/> | |
<param name="gscam_config" value="filesrc location=$(arg FILENAME) ! qtdemux ! ffdec_h264 ! ffmpegcolorspace "/> | |
<param name="frame_id" value="/videofile_frame"/> | |
<param name="sync_sink" value="true"/> | |
<param name="reopen_on_eof" value="$(arg LOOP)"/> | |
</node> | |
<node if="$(arg PUBLISH_FRAME)" name="videofile_transform" pkg="tf" type="static_transform_publisher" args="1 2 3 0 -3.141 0 /world /videofile_frame 10"/> | |
</launch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment