Bi3d with Realsense colcon build error

Platform x86_64
Camera D435i
I have follow this link Tutorial for Bi3D with RealSense Camera — isaac_ros_docs documentation
to install.
realsense-viwer works in docker
ros2 launch isaac_ros_bi3d isaac_ros_bi3d_realsense.launch.py withous use realsense runs correctly but when When I use colcon build --symlink-install, get this error:

fnished <<< isaac_ros_nova_interfaces [13.1s]
Finished <<< isaac_ros_tensor_list_interfaces [13.2s]
— stderr: isaac_ros_nitros_bi3d_inference_param_array_type
/workspaces/isaac_ros-dev/src/isaac_ros_depth_segmentation/isaac_ros_nitros_bi3d_inference_param_array_type/src/nitros_bi3d_inference_param_array.cpp:27:10: fatal error: gxf/core/entity.hpp: No such file or directory
27 | include “gxf/core/entity.hpp”
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/isaac_ros_nitros_bi3d_inference_param_array_type.dir/build.make:76: CMakeFiles/isaac_ros_nitros_bi3d_inference_param_array_type.dir/src/nitros_bi3d_inference_param_array.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/isaac_ros_nitros_bi3d_inference_param_array_type.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Failed <<< isaac_ros_nitros_bi3d_inference_param_array_type [3.37s, exited with code 2]
Aborted <<< realsense2_camera [21.0s]

Hi @flogarcia999

Looks like you have switched off and restart your docker between tests, but let me know if is not.

If you switched off and restart your docker, you need before recompile all packages to reinstall all depencies, in this case:

sudo apt-get install -y ros-humble-isaac-ros-bi3d

Let me know if helped you

Best,
Raffaello

Many thanks Rafaello.

When I restart the docker, I need to reinatall the dependencies with

sudo apt-get install -y ros-humble-isaac-ros-bi3d

This command install the necessary packages in /opt/ros/humble/share directory and all works ok

but if I need to change any program because my realsense camera has special characterist and I clone the packages

GitHub - NVIDIA-ISAAC-ROS/isaac_ros_depth_segmentation: Hardware-accelerated, deep learned depth segmentation and obstacle field ranging using Bi3D to src

and modify (by example) isaac_ros_bi3d_realsense.launch.py program

when I compile with colcon build, fault dependencies.

Regards

Florencio Garcia

flogarcia999@gmail.com

Enviado desde Correo para Windows

1 Like