|
3 | 3 | <env name="ROSCONSOLE_CONFIG_FILE" value="$(find spinnaker_sdk_camera_driver)/cfg/std_console.conf"/> |
4 | 4 |
|
5 | 5 | <!-- acquisition spinnaker params--> |
6 | | - <arg name="binning" default="1" doc="Binning for cameras, when changing from 2 to 1 cameras need to be unplugged and replugged"/> |
7 | | - <arg name="color" default="false" doc="Should color images be used (only works on models that support color images)"/> |
8 | | - <arg name="exposure_time" default="0" doc="Exposure_time setting for cameras"/> |
9 | | - <arg name="external_trigger" default="true" doc="External trigger (No camera is master)"/> |
10 | | - <arg name="target_grey_value" default="0" doc="AutoExposureTargetGreyValue min: 4 max: 99 if set below 4, AutoExposureTargetGreyValueAuto will be set to continuous(auto) also available as dynamic reconfigurable parameter" /> |
11 | | - <arg name="frames" default="3400" doc="Numer of frames to save/view 0=ON"/> |
12 | | - <arg name="live" default="false" doc="Show images on screen GUI"/> |
13 | | - <arg name="live_grid" default="false" doc="Show images on screen GUI in a grid"/> |
14 | | - <arg name="output" default="screen" doc="display output to screen or log file"/> |
15 | | - <arg name="save" default="false" doc="flag whether images should be saved or not"/> |
16 | | - <arg name="save_path" default="/media/jagatpreet/Data/datasets/vio_rosbags/vio_rig/dummy" doc="location to save the image data"/> |
17 | | - <arg name="save_type" default="bmp" doc="Type of file type to save to when saving images locally: binary, tiff, bmp, jpeg etc." /> |
18 | | - <arg name="soft_framerate" default="30" doc="When hybrid software triggering is used, this controls the FPS, 0=as fast as possible"/> |
19 | | - <arg name="time" default="false" doc="Show time/FPS on output"/> |
20 | | - <arg name="to_ros" default="true" doc="Flag whether images should be published to ROS" /> |
21 | | - <arg name="utstamps" default="false" doc="Flag whether each image should have Unique timestamps vs the master cams time stamp for all" /> |
22 | | - <arg name="max_rate_save" default="false" doc="Flag for max rate mode which is when the master triggerst the slaves and saves images at maximum rate possible" /> |
| 6 | + <arg name="binning" default="1" doc="Binning for cameras, when changing from 2 to 1 cameras need to be unplugged and replugged"/> |
| 7 | + <arg name="color" default="false" doc="Should color images be used (only works on models that support color images)"/> |
| 8 | + <arg name="exposure_time" default="0" doc="Exposure_time setting for cameras"/> |
| 9 | + <arg name="external_trigger" default="true" doc="External trigger (No camera is master)"/> |
| 10 | + <arg name="gain" default="0" doc="Gain setting. Gain should be positive (full range - 0 - 18 dB for blackfly-s camera) |
| 11 | + or zero (auto gain). if gain > max, it will be set to max allowed value. |
| 12 | + Default is 0, auto gain which is set according to target grey value or autoexposure settings"/> |
| 13 | + <arg name="target_grey_value" default="0" doc="AutoExposureTargetGreyValue min: 4 max: 99 if set below 4, |
| 14 | + AutoExposureTargetGreyValueAuto will be set to continuous(auto) |
| 15 | + also available as dynamic reconfigurable parameter. |
| 16 | + This parameter has no meaning when auto exposure and auto gain are off" /> |
| 17 | + <arg name="frames" default="3400" doc="Numer of frames to save/view 0=ON"/> |
| 18 | + <arg name="live" default="false" doc="Show images on screen GUI"/> |
| 19 | + <arg name="live_grid" default="false" doc="Show images on screen GUI in a grid"/> |
| 20 | + <arg name="output" default="screen" doc="display output to screen or log file"/> |
| 21 | + <arg name="save" default="false" doc="flag whether images should be saved or not"/> |
| 22 | + <arg name="save_path" default="~" doc="location to save the image data"/> |
| 23 | + <arg name="save_type" default="bmp" doc="Type of file type to save to when saving images locally: binary, tiff, bmp, jpeg etc." /> |
| 24 | + <arg name="soft_framerate" default="30" doc="When hybrid software triggering is used, this controls the FPS, 0=as fast as possible"/> |
| 25 | + <arg name="time" default="false" doc="Show time/FPS on output"/> |
| 26 | + <arg name="to_ros" default="true" doc="Flag whether images should be published to ROS" /> |
| 27 | + <arg name="utstamps" default="false" doc="Flag whether each image should have Unique timestamps vs the master cams time stamp for all" /> |
| 28 | + <arg name="max_rate_save" default="false" doc="Flag for max rate mode which is when the master triggerst the slaves and saves images at maximum rate possible" /> |
23 | 29 |
|
24 | 30 |
|
25 | 31 | <!-- nodelet manager params--> |
|
29 | 35 |
|
30 | 36 | <!-- Capture nodelet params--> |
31 | 37 | <arg name="tf_prefix" default="" doc="will prefix (arg tf_prefix)/ to existing frame_id in Image msg and camerainfo msg" /> |
32 | | - <arg name="config_file" default="$(find spinnaker_sdk_camera_driver)/params/external_trigger_params.yaml" doc="File specifying the parameters of the camera_array"/> |
| 38 | + <arg name="config_file" default="$(find spinnaker_sdk_camera_driver)/params/external_trigger_params.yaml" doc="File specifying the parameters of the camera_array"/> |
33 | 39 |
|
34 | | - <!-- start the nodelet manager if $(arg start_nodelet_manager) is true--> |
| 40 | + <!-- start the nodelet manager if $(arg start_nodelet_manager) is true--> |
35 | 41 | <node pkg="nodelet" type="nodelet" name="$(arg manager)" args="manager" output="screen" unless="$(arg external_manager)" /> |
36 | 42 |
|
37 | 43 | <!-- load the acquisition nodelet --> |
38 | 44 | <node pkg="nodelet" type="nodelet" name="acquisition_node" |
39 | 45 | args="load acquisition/Capture $(arg manager)" > |
40 | 46 | <!-- load the acquisition node parameters file. Note any parameters provided in this file will |
41 | | - override what is in the yaml file. Thus use it to set parameters camer_array configuration params --> |
| 47 | + override what is in the yaml file. Thus use it to set parameters camer_array configuration params --> |
42 | 48 | <rosparam command="load" file="$(arg config_file)" /> |
43 | 49 |
|
44 | 50 | <!-- Load parameters onto server using argument or default values above --> |
45 | 51 | <param name="exposure_time" value="$(arg exposure_time)" /> |
46 | | - <param name="external_trigger" value="$(arg external_trigger)" /> |
| 52 | + <param name="external_trigger" value="$(arg external_trigger)" /> |
| 53 | + <param name="gain" value="$(arg gain)"/> |
47 | 54 | <param name="target_grey_value" value="$(arg target_grey_value)" /> |
48 | 55 | <param name="binning" value="$(arg binning)" /> |
49 | 56 | <param name="color" value="$(arg color)" /> |
|
0 commit comments