source

This file is ai generated. Do not edit this file directly. Instead, edit the node source code and run the generate-node-docs command to update this file.

Description

Test node that publishes synthetic image data for testing cv_bridge functionality. The node generates a black image with an animated bouncing white circle and publishes both regular and compressed image messages at 30 Hz. This is useful for testing OpenCV-ROS2 image conversion and transmission pipelines.

Publishers

Example Usage

Launch the source node to generate test images:

ros2 run opencv_tests source

To visualize the published images:

# View raw images
ros2 run rqt_image_view rqt_image_view /opencv_tests/images

# View compressed images
ros2 run rqt_image_view rqt_image_view /opencv_tests/images/compressed

The node will continuously publish images with a bouncing ball animation until stopped with Ctrl+C.