depthai-ros
depthai-ros copied to clipboard
rgb stream for oak 1
Hello,
Currently I am using OAK 1. I just want to consume rgb stream from ros. Can you please help which example I have to run? And how to change the image resolution? And do I need to change the calibration file?
For 4k stream, I did the following change
colorCam->setResolution(dai::ColorCameraProperties::SensorResolution::THE_4_K); at https://github.com/luxonis/depthai-ros-examples/blob/6c7af8ccc6fe2480a8bec73b160ecd16cd6d6194/depthai_examples/src/rgb_publisher.cpp#L22
Currently it is using color.yaml file. Do I need to change that also?
Yes. that would send 4K. And color.yaml intrinsic needs to be scaled accordingly. But the necessity of the camera_info depends on your task
Closing due to inactivity, if you think this should remain open, please tag me in a comment here.