mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-09 10:41:15 +00:00
Added rover catkin packages
This commit is contained in:
19
rover/gscam/examples/videofile.launch
Normal file
19
rover/gscam/examples/videofile.launch
Normal file
@@ -0,0 +1,19 @@
|
||||
<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) ! decodebin ! 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>
|
||||
Reference in New Issue
Block a user