Platform:
I'm unable to build depthai-ros from source on Jetson Orin Nano. The build fails with missing header files and API mismatches between depthai-core and depthai-ros.
Steps Taken:
- Initial Jetson Setup was done referring to the following link: Deploy with Jetson
- Installed depthai-core from source referring to the following link: Install from Source
- Cloned depthai-ros repository (noetic branch)
- Installed all ROS dependencies via rosdep
- Attempted to build with
catkin_make_isolated
In file included from /home/pxot/dai_ws/src/depthai-ros/depthai_bridge/src/ImageConverter.cpp:2:
/home/pxot/dai_ws/src/depthai-ros/depthai_bridge/include/depthai_bridge/ImageConverter.hpp:9:10: fatal error: depthai-shared/common/CameraBoardSocket.hpp: No such file or directory
9 | #include "depthai-shared/common/CameraBoardSocket.hpp"
compilation terminated.
/home/pxot/dai_ws/src/depthai-ros/depthai_bridge/src/DisparityConverter.cpp:48:34: error: 'dai::RawImgFrame' has not been declared
48 | if(inData->getType() == dai::RawImgFrame::Type::RAW8) {
**
Questions:**
Which specific versions of depthai-core and depthai-ros are known to work together on Jetson platforms?
Is there a recommended stable release tag I should use instead of the main branch?
Are there any Jetson-specific build instructions or compatibility issues I should be aware of?
The official install script (install_dependencies.sh) appears to clone from main branch - is this expected to work, or should I use a specific tagged release?
I noticed the depthai-ros code expects certain header file locations (depthai-shared/common/) that don't exist in my depthai-core installation, and references API types like dai::RawImgFrame that seem to have been removed or relocated in newer versions.
Any guidance on the correct version pairing or build procedure for Jetson Orin Nano would be greatly appreciated!