Advertisement
Guest User

ueye.launch

a guest
Sep 9th, 2015
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.45 KB | None | 0 0
  1. <launch>
  2.   <arg name="ros_dir" default="/home/user/ros_indigo/" />
  3.  
  4.   <node pkg="nodelet" type="nodelet" name="ueye_cam_nodelet"
  5.        args="load ueye_cam/ueye_cam_nodelet nodelet_manager">
  6.     <param name="camera_name" type="str" value="ueye" /> <!-- == namespace for topics and services -->
  7.     <param name="camera_topic" type="str" value="image_raw" />
  8.     <param name="camera_id" type="int" value="0" /> <!-- 0 = any camera; 1+: camera ID -->
  9.     <param name="camera_parameters_file" type="string" value="$(arg ros_dir)camera_info/UI122xLE-M_conf.ini" /> <!-- default: ~/.ros/camera_info/<camera_name>.yaml -->
  10.     <param name="camera_intrinsics_file" type="string" value="$(arg ros_dir)camera_info/ueye.yml" /> <!-- default: ~/.ros/camera_conf/<camera_name>.ini -->
  11.  
  12.     <param name="ext_trigger_mode" type="bool" value="False" /> <!-- if False, then camera will operate in free-run mode; otherwise, frames need to be triggered by hardware signal (falling-edge) on digital input
  13. pin of camera -->
  14.    
  15.     <!-- the following are optional camera configuration parameters:
  16.         they will be loaded on the camera after the .ini configuration
  17.         file, and before dynamic_reconfigure. That means that any
  18.         (lingering) dynamic parameters from dynamic_reconfigure will
  19.         override these values, and that these will override parameters
  20.         from the .ini file.
  21.         See http://www.ros.org/wiki/ueye_cam for more details. -->
  22.  
  23.     <param name="color_mode" type="str" value="mono8" /> <!-- valid options: 'rgb8', 'mono8', 'bayer_rggb8' -->
  24.  
  25.     <!-- WARNING: the following 4 parameters specify dimensions for camera's area of interest. Values for image_width and image_height that are smaller than your camera's maximum values will result in cropped fi
  26. eld of view. For typical cases, one should modify values for sensor_scaling / binning / subsampling to downsample the resulting ROS image to the desired dimensions, without losing potential field of view. -->
  27.     <param name="image_width" type="int" value="752"/>
  28.     <param name="image_height" type="int" value="480" />
  29.     <param name="image_top" type="int" value="-1" /> <!-- -1: center -->
  30.     <param name="image_left" type="int" value="-1" /> <!-- -1: center -->
  31.  
  32.     <!--param name="subsampling" type="int" value="1" /--> <!-- supported by only some UEye cameras -->
  33.     <!--param name="sensor_scaling" type="double" value="1.0" /--> <!-- supported by only some UEye cameras -->
  34.  
  35.     <param name="auto_gain" type="bool" value="True" />
  36.     <param name="master_gain" type="int" value="0" />
  37.     <param name="red_gain" type="int" value="0" />
  38.     <param name="green_gain" type="int" value="0" />
  39.     <param name="blue_gain" type="int" value="0" />
  40.     <param name="gain_boost" type="bool" value="False" />
  41.  
  42.     <param name="auto_exposure" type="bool" value="True" />
  43.     <param name="exposure" type="int" value="33" /> <!-- in ms -->
  44.  
  45.     <param name="auto_white_balance" type="bool" value="True" />
  46.     <param name="white_balance_red_offset" type="int" value="0" />
  47.     <param name="white_balance_blue_offset" type="int" value="0" />
  48.    
  49.     <param name="flash_delay" type="int" value="0" /> <!-- in us -->
  50.     <param name="flash_duration" type="int" value="1000" /> <!-- in us -->
  51.    
  52.     <param name="auto_frame_rate" type="bool" value="False" />
  53.     <param name="frame_rate" type="double" value="32.0" />
  54.     <param name="pixel_clock" type="int" value="25" />
  55.   </node>
  56. </launch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement