luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
239 stars 173 forks source link

Change misleading error to a clearer message #373

Closed xouillet closed 10 months ago

xouillet commented 10 months ago

Hi,

We have a setup with 2 cameras. Upon starting, we set usb id on each camera nodes, and the current code throw an error upon searching the camera.

Actually, this error is nothing else than a simple "I've detected a camera but I won't use it because it does not match usb id", so this is very misleading, because each node throw a big red error about the camera not handled by this node.

This PR changes the severity to INFO and show a clearer message

Thanks,

Serafadam commented 10 months ago

LGTM, thanks for the PR!