Skip to content

Commit

Permalink
Added binning parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-camero authored and berndpfrommer committed Jan 18, 2024
1 parent f5ffece commit cbf9604
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spinnaker_camera_driver/config/blackfly_s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ parameters:
# Some formats are e.g. "Mono8", "BayerRG8", "BGR8", "BayerRG16"
# default is "BayerRG8"
node: ImageFormatControl/PixelFormat
- name: binning_x
type: int
node: ImageFormatControl/BinningHorizontal
- name: binning_y
type: int
node: ImageFormatControl/BinningVertical
- name: image_width
type: int
node: ImageFormatControl/Width
Expand All @@ -26,6 +32,7 @@ parameters:
- name: offset_y
type: int
node: ImageFormatControl/OffsetY

#
# -------- analog control
#
Expand Down
2 changes: 2 additions & 0 deletions spinnaker_camera_driver/launch/driver_node.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
# 'image_height': 1080,
# 'offset_x': 16,
# 'offset_y': 0,
# 'binning_x': 1,
# 'binning_y': 1,
'frame_rate_auto': 'Off',
'frame_rate': 40.0,
'frame_rate_enable': True,
Expand Down

0 comments on commit cbf9604

Please sign in to comment.