|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | rolling |
| Last Updated | 2026-11-15 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_yuyv_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |
Launch files
Messages
Services
Plugins
Recent questions tagged tuw_camera at Robotics Stack Exchange
|
tuw_camera package from tuw_robotics repotuw tuw_camera tuw_gamepad tuw_json tuw_robotics tuw_rviz |
ROS Distro
|
Package Summary
| Version | 1.0.0 |
| License | BSD-3-Clause |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/tuw-robotics/tuw_robotics.git |
| VCS Type | git |
| VCS Version | lyrical |
| Last Updated | 2026-11-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Markus Bader
Authors
- Markus Bader
- Matthias Reicher
- Jakob Buchsteiner
tuw_camera
ROS 2 nodes for capturing images from a libcamera-supported
camera and republishing them through image_transport.
Supported cameras
Any camera libcamera can open works. In practice that means two groups:
-
USB cameras following the UVC standard (USB Video Class), on a PC or
on a Pi, through libcamera’s
uvcvideopipeline handler. This covers almost all webcams (laptop cameras, Logitech, Microsoft, generic USB webcams) and many USB board cameras. Tested: the built-in webcam of a Dell Precision 3591 laptop (dell_precision_3591_YUYV_to_mono8.yaml).- One stream per camera, in the formats the camera offers over UVC
(typically
YUYVandMJPEG, sometimesNV12orGREY→R8). - Basic UVC controls (exposure, auto-exposure, brightness, contrast, …)
as
controls.*parameters. - At 1080p,
YUYVover USB 2.0 usually reaches only ~5 fps;MJPEGtypically 30 fps.
- One stream per camera, in the formats the camera offers over UVC
(typically
-
Raspberry Pi camera modules (CSI ribbon cable) on a Raspberry Pi,
e.g. Camera Module 3 / 3 Wide (IMX708), Camera Module 2 (IMX219), HQ
Camera (IMX477) and Global Shutter Camera (IMX296). They use the Pi’s own
libcamera pipeline (with ISP), offer several formats (
RGB888,YUV420,YUYV, …) and many controls (autofocus, exposure, gain, white balance). Tested: Camera Module 3 Wide on a Raspberry Pi 5 (pi_module3_wide_*.yaml).
Not supported: non-UVC USB cameras (e.g. USB3 Vision / GenICam industrial cameras from Basler, FLIR, IDS, or cameras that need a vendor driver), and depth/IR streams of depth cameras (RealSense, Kinect). The RGB stream of such a camera often is UVC and works. Pixel formats missing from the conversion table are listed at startup but can’t be published.
To check a camera:
v4l2-ctl --list-devices # listed as /dev/videoX -> V4L2 driver active
v4l2-ctl --list-formats-ext -d /dev/video0 # formats, resolutions, frame rates
cam -l # cameras libcamera can open (libcamera-tools)
If a camera is listed by cam -l, this node can open it. With several
cameras, select one with the camera parameter; the node logs the
available IDs at startup (Available cameras:).
Nodes
The package provides two composable nodes, meant to run together inside one
component_container:
-
CaptureNode(executablecamera_capture) — drives libcamera directly, configures one or more streams, and publishes raw or compressedsensor_msgs/Imagemessages plus (optionally)camera_info. -
TransportNode(executablecamera_transport) — subscribes to the raw image published byCaptureNodeand republishes it through all availableimage_transportplugins (e.g.compressed,theora), so downstream tools can pick whichever transport they need.
Launching
The package has two launch files.
| Launch file | Nodes | Processes | Camera parameters |
|---|---|---|---|
demo.launch.py |
CaptureNode (camera_capture), TransportNode (camera_transport) |
separate processes, no rectification | launch arguments |
composed.launch.py |
CaptureNode, TransportNode, RectifyNode (rectification) |
all in one process (component container, intra-process communication) | YAML file in config/
|
demo.launch.py
ros2 launch tuw_camera demo.launch.py
Should work out of the box, and most settings can be given as launch arguments (see Demo launch file with format arguments). It is slow, though, because the nodes run in separate processes.
composed.launch.py
In composed.launch.py the images are passed between the nodes inside the
process without going through DDS, which is faster and avoids the problems
with large images described in
Large images and Fast DDS.
composed.launch.py needs a configuration file that matches your camera
(format, resolution, calibration): pick one from config/ with
config:=<file> or add your own (see
Configuration files).
ros2 launch tuw_camera composed.launch.py
This starts CaptureNode, TransportNode and an image_proc RectifyNode
inside one rclcpp_components container (camera_processing_container)
with intra-process communication enabled between them. The camera
parameters come from a YAML file in config/ (see
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
| Name |
|---|
| pkg-config |
| libopencv-dev |
Dependant Packages
| Name | Deps |
|---|---|
| tuw_robotics |