luxonis / depthai-ros

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

rgb_node Does Not Exist #307

Closed swiz23 closed 10 months ago

swiz23 commented 1 year ago

Describe the bug I'm running the following command:

ros2 launch depthai_examples rgb_publisher.launch.py

but I get this error: [ERROR] [launch]: Caught exception in launch (see debug for traceback): executable 'rgb_node' not found on the libexec directory '/opt/ros/humble/lib/depthai_examples'

It seems that this is because the commit at https://github.com/luxonis/depthai-ros/commit/29cf4a0140d211b7b871c93198f3433b648933ae removes the rgb_node executable, but does not update the rgb_publisher launch file to use a different node.

Maybe that node in the executable should be replaced with rgb_stereo_node?

Serafadam commented 1 year ago

Hi, we decided to deprecate the rgb_node as it was redundant wrt to depthai_ros_driver and stereo_inertial_node, which are most up to date, and launch was omitted in the process, it will be removed in next release. If needed we can bring back that node, but I would suggest using other nodes (or create your own).

swiz23 commented 1 year ago

Are you saying that all launch files at https://github.com/luxonis/depthai-ros/tree/humble/depthai_examples/launch will be removed in the next release?

Or those launch files will still exist, but they will launch either the depthat_ros_driver or stereo_inertial_node executables?

Serafadam commented 1 year ago

Just rgb_publisher launch file will be removed, other launch files stay as is.

swiz23 commented 1 year ago

Got it! Thanks. When the next release occurs, I'll close this issue.

Serafadam commented 10 months ago

Closing due to inactivity, please reopen if there are still questions.