You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This merge from dev to master add the following major changes:
Add external triggering
ROI settings for images
Bring Travis CI to master
Adding gain settings to code
Bump up version to 1.1.0
Number of little improvements and bug fixes.
These are the ros drivers for running the Pt Grey (FLIR) cameras that use the Spinnaker SDK. This code has been tested with various Point Grey Blackfly S (BFS) cameras.
Modify the `params/test_params.yaml` file replacing the cam-ids and master cam serial number to match your camera's serial number. Then run the code as:
# Test that the images are being published by running
59
-
60
79
rqt_image_view
61
80
```
62
81
## Parmeters
@@ -69,6 +88,8 @@ All the parameters can be set via the launch file or via the yaml config_file.
69
88
Should color images be used (only works on models that support color images)
70
89
*~exposure_time (int, default: 0, 0:auto)
71
90
Exposure setting for cameras, also available as dynamic reconfiguarble parameter.
91
+
*~external_trigger (bool, default: false)
92
+
Camera triggering setting when using an external trigger. In this mode, none of the cameras would be set as a master camera. All cameras are setup to use external trigger. In this mode the main loop runs at rate set by soft_framerate, so if the external trigger rate is higher than the soft_framerate, the buffer will get filled and images will have a lag. Also in this mode, the getnextimage timeout is set to infinite so that the node dosen't die if a trigger is not received for a while.
Setting target_grey_value > 4 (min:4 , max:99) will turn AutoExposureTargetGreyValueAuto to 'off' and set AutoExposureTargetGreyValue to target_grey_value. Also available as dynamic reconfigurable parameter. see below in Dynamic reconfigurable parameter section.
74
95
*~frames (int, default: 50)
@@ -81,7 +102,7 @@ All the parameters can be set via the launch file or via the yaml config_file.
81
102
Flag whether images should be saved or not (via opencv mat objects to disk)
82
103
*~save_path (string, default: "\~/projects/data")
83
104
Location to save the image data
84
-
*\~save_type (string, default: "bmp")
105
+
*~save_type (string, default: "bmp")
85
106
Type of file type to save to when saving images locally: binary, tiff, bmp, jpeg etc.
86
107
*~soft_framerate (int, default: 20)
87
108
When hybrid software triggering is used, this controls the FPS, 0=as fast as possible
@@ -93,6 +114,18 @@ All the parameters can be set via the launch file or via the yaml config_file.
93
114
Flag whether each image should have Unique timestamps vs the master cams time stamp for all
94
115
*~max_rate_save (bool, default: false)
95
116
Flag for max rate mode which is when the master triggers the slaves and saves images at maximum rate possible. This is the multithreaded mode
117
+
*~flip_horizontal (bool, default: false)
118
+
Flag to flip image horizontally on camera itself, this is not a rotate only a mirror image. This setting does enumeration: "reverseX". It should be specified for all cameras or can be left unspecified for all cameras for default behaviour.
119
+
*~flip_vertical (bool, default: false)
120
+
Flag to flip image vertically on camera itself, this is not a rotate only a mirror image. This setting does enumeration: "reverseY". It should be specified for all cameras or can be left unspecified for all cameras for default behaviour.
121
+
If both horizontal and vertical flags are true, then it is equivalent to rotating 180deg.
Specify the region of interest in the camera image as dict with width, height, x_offset and y_offset. Width and height specify size of the final image (should be smaller than sensor size). X and Y offsets specify the image origin. The offset plus image size should be smaller than the sensor size.
124
+
125
+
### node/nodelet Specific Parameters
126
+
*~tf_prefix (string, default: "")
127
+
tf_prefix will be pre-fixed to (existing cam_*_optical_frame) frame id in ros Image msg and cameraInfo msg. default option doesn't add any prefix to frame id. eg: uas1/cam_0_optical_frame if tf_prefix:= uas1
128
+
96
129
97
130
### System configuration parameters
98
131
*~cam_ids (yaml sequence or array)
@@ -120,11 +153,11 @@ This is the names that would be given to the cameras for filenames and rostopics
120
153
When exposure_time is set to 0(zero), the ExposureAuto is set to 'Continuous', enabling auto exposure.
0 commit comments