flir_adk.launch 781 B

12345678910111213141516
  1. <launch>
  2. <arg name="DEVICE" default="/dev/video0"/> <!--change this to the correct video device -->
  3. <arg name="FPS" default="30"/>
  4. <arg name="WIDTH" default="640"/>
  5. <arg name="HEIGHT" default="512"/>
  6. <arg name="NS" default="flir_adk"/>
  7. <node ns="$(arg NS)" name="flir_adk_01" pkg="gscam" type="gscam" output="screen">
  8. <param name="camera_name" value="flir"/>
  9. <param name="gscam_config"
  10. value="v4l2src device=$(arg DEVICE) ! video/x-raw-yuv,framerate=$(arg FPS)/1,width=$(arg WIDTH),height=$(arg HEIGHT) ! ffmpegcolorspace "/>
  11. <param name="frame_id" value="$(arg NS)"/>
  12. <param name="sync_sink" value="true"/>
  13. <remap from="/$(arg NS)/camera/camera_info" to="not_camera_info"/> <!-- Ignore original camera_info topic -->
  14. </node>
  15. </launch>