Skip to content

Software

daheng4ros

From github.com/vdovetzi/daheng4ros (opens in a new tab)

  • Perception
  • Driver or SDK
  • MIT

A ROS 2 driver that publishes images from Daheng Imaging VEN-U3 board-level cameras, with runtime parameter changes and optional undistortion.

  • Stale. No commit in 12 months: the newest is from 17 Oct 2025.

Facts

GitHub stars
0read on 28 Nov 2026
Last update
17 Oct 2025Newest commit on jazzy
Maintenance
Staleno commit in 12 months
Difficulty
Intermediate
Hardware it needs, as the project states it
Requires ROS 2 Jazzy, C++17, the proprietary Daheng Imaging SDK (GxIAPI) installed separately, and OpenCV with cv_bridge; it is designed for Daheng VEN-U3 Board Level cameras.

Checked on GitHub on 28 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 9d7e405 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Publishes sensor_msgs/Image on a configurable topic through image_transport.
  • Lets exposure, gain, fps, brightness, contrast, sharpness and resolution be adjusted at runtime.
  • Offers basic image enhancements: contrast, brightness and sharpening.
  • Can undistort images when camera matrix K and distortion coefficients D are supplied.
  • Provides a C++ wrapper class for the camera with thread-based acquisition and a callback.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Stale, last commit on 17 Oct 2025.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 9d7e405

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @vdovetzi, at commit 9d7e405, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

daheng4ros

ROS2 driver for Daheng Imaging VEN-U3 Board Level Series cameras — simple image publisher with realtime parameter reconfiguration, basic image enhancements, and optional undistortion using camera calibration parameters.


Table of contents

Features

  • Use enhancements (contrast, brightness, sharpen).
  • Publish sensor_msgs/Image on a configurable topic using image_transport.
  • Runtime adjustable parameters: exposure, gain, fps, brightness, contrast, sharpness, resolution.
  • Optional undistortion using K (camera matrix) and D (distortion coeffs).
  • Simple C++ API wrapper for the camera (class sdk_daheng::Camera) with thread-based acquisition and functional-style callback.

Requirements

  • ROS 2 Jazzy
  • C++17
  • Daheng Imaging SDK installed on the host (GxIAPI)
  • OpenCV (>=3.4 recommended) and cv_bridge.

Note: The Daheng SDK (GxIAPI) is proprietary and must be installed separately according to Daheng's instructions. Ensure the required libraries are discoverable by your linker (LD_LIBRARY_PATH or system install).



Parameters (opens in a new tab)

ros__parameters:
  camera_frame: "daheng_cam" # default
  camera_topic: "daheng/image" # default
  fps: 60
  exposure: 10000.0
  gain: 20.0
  width: 640
  height: 480
  brightness: 150 # -150~150
  contrast: 100 # -50~100
  sharpness: 0.5 # 0.1~5.0
  # uncomment the following with your parameters to publish undistorted image
  # K: [fx, 0, cx, 0, fy, cy, 0, 0, 1]
  # D: [k1, k2, p1, p2, k3]

Installation & build

mkdir -p ~/ros2_ws/src && cd ~/ros2_ws/src
git clone https://github.com/vdovetzi/daheng4ros.git
cd ~/ros2_ws
rosdep install -y --from-path src/
colcon build --symlink-install
source ~/ros2_ws/install/setup.bash

Running

ros2 launch daheng4ros image_publisher.launch.py

or directly:

ros2 run daheng4ros image_publisher --ros-args --params-file config/params.yaml

View images:

ros2 run rqt_image_view rqt_image_view

Contributing

Pull requests and Issues are welcome!


License

MIT License © 2025

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.