Hey,
here is short example of yaml file for depthai ros driver to get RGB camera to stream at 4K resolution (with minimal other stuff):
/oak:
ros__parameters:
camera:
i_enable_imu: false
i_enable_ir: false
i_nn_type: none
i_pipeline_type: RGB
rgb:
i_resolution: "4K"
i_set_isp_scale: false
You can run launch file with these params by running:
ros2 launch depthai_ros_driver camera.launch.py params_file:=/path/to/configyamlfile.yaml
this should stream 4K video - let me know if you need anything else.