NVIDIA-ISAAC-ROS / isaac_ros_visual_slam

Visual SLAM/odometry package based on NVIDIA-accelerated cuVSLAM
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
819 stars 127 forks source link

release update for Jetson JP5.0/ zed launchfile #23

Closed AndreV84 closed 1 year ago

AndreV84 commented 2 years ago

it won't build systemwide on just flashed 20.04 OS with just installed Ros Foxy?

will it?

It seems building of packages would stuck on opencv pre-requisite


will there be a zed launchfile?

errors

--- stderr: isaac_ros_image_proc             
In file included from /home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:33:
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp: In function ‘cv::Mat {anonymous}::GetConvertedMat(VPIImageImpl*&, VPIImageImpl*&, VPIStreamImpl*&, const cv::Mat&, uint32_t, std::string, std::string)’:
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:68:5: error: ‘vpiImageCreateOpenCVMatWrapper’ was not declared in this scope; did you mean ‘vpiImageCreateWrapper’?
   68 |     vpiImageCreateOpenCVMatWrapper(
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nvidia/zed_ws/install/isaac_ros_common/include/isaac_r

more errs

/usr/include/opencv4/opencv2/core/mat.hpp:826:5: note:   candidate expects 2 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:818:5: note: candidate: ‘cv::Mat::Mat(int, int, int)’
  818 |     Mat(int rows, int cols, int type);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:818:5: note:   candidate expects 3 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:810:5: note: candidate: ‘cv::Mat::Mat()’
  810 |     Mat() CV_NOEXCEPT;
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:810:5: note:   candidate expects 0 arguments, 5 provided
make[2]: *** [CMakeFiles/image_format_converter_node.dir/build.make:63: CMakeFiles/image_format_converter_node.dir/src/image_format_converter_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:168: CMakeFiles/image_format_converter_node.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Thanks AV

AndreV84 commented 2 years ago

seems dockerized setup script causes err on JP5.0

json
, stderr: nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/7b7f392016fa624d28c6d4d4dcafb6fe4c810410b735978eb009d2da01ef395a/merged/dev/nvhost-as-gpu: invalid argument: unknown.
~/isaac_ros_common
AndreV84 commented 2 years ago

@hemalshahNV How to overcome this errors on JP5.0DP AGX?


ccessfully tagged isaac_ros_dev-aarch64:latest
Running isaac_ros_dev-aarch64-container
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: src: /etc/vulkan/icd.d/nvidia_icd.json, src_lnk: /usr/lib/aarch64-linux-gnu/tegra/nvidia_icd.json, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/etc/vulkan/icd.d/nvidia_icd.json, dst_lnk: /usr/lib/aarch64-linux-gnu/tegra/nvidia_icd.json
src: /usr/lib/aarch64-linux-gnu/libcuda.so, src_lnk: tegra/libcuda.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libcuda.so, dst_lnk: tegra/libcuda.so
src: /usr/lib/aarch64-linux-gnu/libnvcucompat.so, src_lnk: tegra/libnvcucompat.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libnvcucompat.so, dst_lnk: tegra/libnvcucompat.so
src: /usr/lib/aarch64-linux-gnu/libnvidia-nvvm.so, src_lnk: tegra/libnvidia-nvvm.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libnvidia-nvvm.so, dst_lnk: tegra/libnvidia-nvvm.so
src: /usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.999999, src_lnk: tegra/libnvv4l2.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.999999, dst_lnk: tegra/libnvv4l2.so
src: /usr/lib/aarch64-linux-gnu/libv4lconvert.so.0.0.999999, src_lnk: tegra/libnvv4lconvert.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libv4lconvert.so.0.0.999999, dst_lnk: tegra/libnvv4lconvert.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvargus.so, src_lnk: ../../../tegra/libv4l2_nvargus.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvargus.so, dst_lnk: ../../../tegra/libv4l2_nvargus.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvcuvidvideocodec.so, src_lnk: ../../../tegra/libv4l2_nvcuvidvideocodec.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvcuvidvideocodec.so, dst_lnk: ../../../tegra/libv4l2_nvcuvidvideocodec.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvvideocodec.so, src_lnk: ../../../tegra/libv4l2_nvvideocodec.so, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvvideocodec.so, dst_lnk: ../../../tegra/libv4l2_nvvideocodec.so
src: /usr/lib/aarch64-linux-gnu/libvulkan.so.1.3.203, src_lnk: tegra/libvulkan.so.1.3.203, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/libvulkan.so.1.3.203, dst_lnk: tegra/libvulkan.so.1.3.203
src: /usr/lib/aarch64-linux-gnu/tegra/libcuda.so, src_lnk: libcuda.so.1.1, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libcuda.so, dst_lnk: libcuda.so.1.1
src: /usr/lib/aarch64-linux-gnu/tegra/libgstnvdsseimeta.so, src_lnk: libgstnvdsseimeta.so.1.0.0, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libgstnvdsseimeta.so, dst_lnk: libgstnvdsseimeta.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so, src_lnk: libnvbufsurface.so.1.0.0, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so, dst_lnk: libnvbufsurface.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so, src_lnk: libnvbufsurftransform.so.1.0.0, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so, dst_lnk: libnvbufsurftransform.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbuf_utils.so, src_lnk: libnvbuf_utils.so.1.0.0, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbuf_utils.so, dst_lnk: libnvbuf_utils.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so, src_lnk: libnvdsbufferpool.so.1.0.0, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so, dst_lnk: libnvdsbufferpool.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so, src_lnk: libnvidia-nvvm.so.4, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so, dst_lnk: libnvidia-nvvm.so.4
src: /usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so.4, src_lnk: libnvidia-nvvm.so.4.0.0, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so.4, dst_lnk: libnvidia-nvvm.so.4.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so, src_lnk: libnvid_mapper.so.1.0.0, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so, dst_lnk: libnvid_mapper.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscibuf.so, src_lnk: libnvscibuf.so.1, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscibuf.so, dst_lnk: libnvscibuf.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscicommon.so, src_lnk: libnvscicommon.so.1, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscicommon.so, dst_lnk: libnvscicommon.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscistream.so, src_lnk: libnvscistream.so.1, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscistream.so, dst_lnk: libnvscistream.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscisync.so, src_lnk: libnvscisync.so.1, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscisync.so, dst_lnk: libnvscisync.so.1
src: /usr/share/glvnd/egl_vendor.d/10_nvidia.json, src_lnk: ../../../lib/aarch64-linux-gnu/tegra-egl/nvidia.json, dst: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/usr/share/glvnd/egl_vendor.d/10_nvidia.json, dst_lnk: ../../../lib/aarch64-linux-gnu/tegra-egl/nvidia.json
, stderr: nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/31b8f71dbc963011a5dcc5595d569a676144317068e46a1250644ead6df7c7ed/merged/dev/nvhost-as-gpu: invalid argument: unknown.
~/isaac_ros_common
AndreV84 commented 2 years ago
colcon build --symlink-install
Starting >>> image_transport
Starting >>> isaac_ros_test
Starting >>> isaac_ros_common
Starting >>> nvblox_msgs                                       
Starting >>> zed_interfaces
Starting >>> camera_calibration_parsers
Starting >>> isaac_ros_nvengine_interfaces
Starting >>> isaac_ros_visual_slam_interfaces
Finished <<< isaac_ros_test [7.39s]                                  
Starting >>> nvblox_isaac_sim                                        
[Processing: camera_calibration_parsers, image_transport, isaac_ros_common, isaac_ros_nvengine_interfaces, isaac_ros_visual_slam_interfaces, nvblox_isaac_sim, nvblox_msgs, zed_interfaces]
Finished <<< nvblox_isaac_sim [39.1s]                                      
Finished <<< isaac_ros_common [46.6s]                                      
Finished <<< isaac_ros_nvengine_interfaces [50.1s]                         
Starting >>> isaac_ros_nvengine
Finished <<< camera_calibration_parsers [50.4s]                            
Starting >>> camera_info_manager
Finished <<< nvblox_msgs [57.4s]                                           
Starting >>> nvblox_ros
Starting >>> nvblox_nav2
Starting >>> nvblox_rviz_plugin
Finished <<< camera_info_manager [19.6s]                                       
[Processing: image_transport, isaac_ros_nvengine, isaac_ros_visual_slam_interfaces, nvblox_nav2, nvblox_ros, nvblox_rviz_plugin, zed_interfaces]
Finished <<< isaac_ros_nvengine [53.6s]     
Finished <<< nvblox_nav2 [47.4s]            
Finished <<< isaac_ros_visual_slam_interfaces [1min 54s]
Finished <<< zed_interfaces [2min 16s]       
Finished <<< image_transport [2min 20s]      
Starting >>> isaac_ros_image_proc
Starting >>> zed_components
Starting >>> isaac_ros_stereo_image_proc
Starting >>> image_common                    
Finished <<< image_common [4.15s]            
--- stderr: isaac_ros_image_proc             
In file included from /home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:33:
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp: In function ‘cv::Mat {anonymous}::GetConvertedMat(VPIImageImpl*&, VPIImageImpl*&, VPIStreamImpl*&, const cv::Mat&, uint32_t, std::string, std::string)’:
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:68:5: error: ‘vpiImageCreateOpenCVMatWrapper’ was not declared in this scope; did you mean ‘vpiImageCreateWrapper’?
   68 |     vpiImageCreateOpenCVMatWrapper(
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nvidia/zed_ws/install/isaac_ros_common/include/isaac_ros_common/vpi_utilities.hpp:20:25: note: in definition of macro ‘CHECK_STATUS’
   20 |     VPIStatus status = (STMT); \
      |                         ^~~~
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:81:61: error: too many arguments to function ‘VPIStatus vpiImageLock(VPIImage, VPILockMode)’
   81 |   CHECK_STATUS(vpiImageLock(output, VPI_LOCK_READ, &out_data));
      |                                                             ^
/home/nvidia/zed_ws/install/isaac_ros_common/include/isaac_ros_common/vpi_utilities.hpp:20:25: note: in definition of macro ‘CHECK_STATUS’
   20 |     VPIStatus status = (STMT); \
      |                         ^~~~
In file included from /home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:28:
/opt/nvidia/vpi2/include/vpi/Image.h:556:22: note: declared here
  556 | VPI_PUBLIC VPIStatus vpiImageLock(VPIImage img, VPILockMode mode);
      |                      ^~~~~~~~~~~~
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:82:31: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’
   82 |   cv::Mat output_mat{out_data.planes[0].height, out_data.planes[0].width,
      |                               ^~~~~~
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:82:58: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’
   82 |   cv::Mat output_mat{out_data.planes[0].height, out_data.planes[0].width,
      |                                                          ^~~~~~
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:83:54: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’
   83 |     g_str_to_channels.at(encoding_desired), out_data.planes[0].data,
      |                                                      ^~~~~~
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:84:34: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’
   84 |     static_cast<size_t>(out_data.planes[0].pitchBytes)};
      |                                  ^~~~~~
/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:84:55: error: no matching function for call to ‘cv::Mat::Mat(<brace-enclosed initializer list>)’
   84 |     static_cast<size_t>(out_data.planes[0].pitchBytes)};
      |                                                       ^
In file included from /usr/include/opencv4/opencv2/core.hpp:58,
                 from /usr/include/opencv4/opencv2/core/core.hpp:48,
                 from /opt/ros/foxy/include/cv_bridge/cv_bridge.h:43,
                 from /home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:20:
/usr/include/opencv4/opencv2/core/mat.hpp:2091:5: note: candidate: ‘cv::Mat::Mat(cv::Mat&&)’
 2091 |     Mat(Mat&& m);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:2091:5: note:   candidate expects 1 argument, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:1051:14: note: candidate: ‘cv::Mat::Mat(const cv::cuda::GpuMat&)’
 1051 |     explicit Mat(const cuda::GpuMat& m);
      |              ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1051:14: note:   candidate expects 1 argument, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:1048:37: note: candidate: ‘template<class _Tp> cv::Mat::Mat(const cv::MatCommaInitializer_<_Tp>&)’
 1048 |     template<typename _Tp> explicit Mat(const MatCommaInitializer_<_Tp>& commaInitializer);
      |                                     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1048:37: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1044:37: note: candidate: ‘template<class _Tp> cv::Mat::Mat(const cv::Point3_<_Tp>&, bool)’
 1044 |     template<typename _Tp> explicit Mat(const Point3_<_Tp>& pt, bool copyData=true);
      |                                     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1044:37: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1040:37: note: candidate: ‘template<class _Tp> cv::Mat::Mat(const cv::Point_<_Tp>&, bool)’
 1040 |     template<typename _Tp> explicit Mat(const Point_<_Tp>& pt, bool copyData=true);
      |                                     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1040:37: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1036:51: note: candidate: ‘template<class _Tp, int m, int n> cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool)’
 1036 |     template<typename _Tp, int m, int n> explicit Mat(const Matx<_Tp, m, n>& mtx, bool copyData=true);
      |                                                   ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1036:51: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1032:44: note: candidate: ‘template<class _Tp, int n> cv::Mat::Mat(const cv::Vec<_Tp, m>&, bool)’
 1032 |     template<typename _Tp, int n> explicit Mat(const Vec<_Tp, n>& vec, bool copyData=true);
      |                                            ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1032:44: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1028:49: note: candidate: ‘template<class _Tp, long unsigned int _Nm> cv::Mat::Mat(const std::array<_Tp, _Nm>&, bool)’
 1028 |     template<typename _Tp, size_t _Nm> explicit Mat(const std::array<_Tp, _Nm>& arr, bool copyData=false);
      |                                                 ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1028:49: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1024:37: note: candidate: ‘template<class _Tp> cv::Mat::Mat(std::initializer_list<int>, std::initializer_list<_Tp>)’
 1024 |     template<typename _Tp> explicit Mat(const std::initializer_list<int> sizes, const std::initializer_list<_Tp> list);
      |                                     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1024:37: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1020:14: note: candidate: ‘template<class _Tp, class> cv::Mat::Mat(std::initializer_list<_Tp>)’
 1020 |     explicit Mat(const std::initializer_list<_Tp> list);
      |              ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1020:14: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:1015:37: note: candidate: ‘template<class _Tp> cv::Mat::Mat(const std::vector<BufferT>&, bool)’
 1015 |     template<typename _Tp> explicit Mat(const std::vector<_Tp>& vec, bool copyData=false);
      |                                     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:1015:37: note:   template argument deduction/substitution failed:
/usr/include/opencv4/opencv2/core/mat.hpp:997:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const std::vector<cv::Range>&)’
  997 |     Mat(const Mat& m, const std::vector<Range>& ranges);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:997:5: note:   candidate expects 2 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:987:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const cv::Range*)’
  987 |     Mat(const Mat& m, const Range* ranges);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:987:5: note:   candidate expects 2 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:977:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const Rect&)’
  977 |     Mat(const Mat& m, const Rect& roi);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:977:5: note:   candidate expects 2 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:967:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const cv::Range&, const cv::Range&)’
  967 |     Mat(const Mat& m, const Range& rowRange, const Range& colRange=Range::all());
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:967:5: note:   candidate expects 3 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:955:5: note: candidate: ‘cv::Mat::Mat(const std::vector<int>&, int, void*, const size_t*)’
  955 |     Mat(const std::vector<int>& sizes, int type, void* data, const size_t* steps=0);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:955:5: note:   candidate expects 4 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:941:5: note: candidate: ‘cv::Mat::Mat(int, const int*, int, void*, const size_t*)’
  941 |     Mat(int ndims, const int* sizes, int type, void* data, const size_t* steps=0);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:941:5: note:   conversion of argument 1 would be ill-formed:
/usr/include/opencv4/opencv2/core/mat.hpp:926:5: note: candidate: ‘cv::Mat::Mat(cv::Size, int, void*, size_t)’
  926 |     Mat(Size size, int type, void* data, size_t step=AUTO_STEP);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:926:5: note:   candidate expects 4 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:910:5: note: candidate: ‘cv::Mat::Mat(int, int, int, void*, size_t)’
  910 |     Mat(int rows, int cols, int type, void* data, size_t step=AUTO_STEP);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:910:5: note:   conversion of argument 1 would be ill-formed:
/usr/include/opencv4/opencv2/core/mat.hpp:894:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&)’
  894 |     Mat(const Mat& m);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:894:5: note:   candidate expects 1 argument, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:884:5: note: candidate: ‘cv::Mat::Mat(const std::vector<int>&, int, const Scalar&)’
  884 |     Mat(const std::vector<int>& sizes, int type, const Scalar& s);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:884:5: note:   candidate expects 3 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:874:5: note: candidate: ‘cv::Mat::Mat(int, const int*, int, const Scalar&)’
  874 |     Mat(int ndims, const int* sizes, int type, const Scalar& s);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:874:5: note:   candidate expects 4 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:863:5: note: candidate: ‘cv::Mat::Mat(const std::vector<int>&, int)’
  863 |     Mat(const std::vector<int>& sizes, int type);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:863:5: note:   candidate expects 2 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:856:5: note: candidate: ‘cv::Mat::Mat(int, const int*, int)’
  856 |     Mat(int ndims, const int* sizes, int type);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:856:5: note:   candidate expects 3 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:848:5: note: candidate: ‘cv::Mat::Mat(cv::Size, int, const Scalar&)’
  848 |     Mat(Size size, int type, const Scalar& s);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:848:5: note:   candidate expects 3 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:837:5: note: candidate: ‘cv::Mat::Mat(int, int, int, const Scalar&)’
  837 |     Mat(int rows, int cols, int type, const Scalar& s);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:837:5: note:   candidate expects 4 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:826:5: note: candidate: ‘cv::Mat::Mat(cv::Size, int)’
  826 |     Mat(Size size, int type);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:826:5: note:   candidate expects 2 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:818:5: note: candidate: ‘cv::Mat::Mat(int, int, int)’
  818 |     Mat(int rows, int cols, int type);
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:818:5: note:   candidate expects 3 arguments, 5 provided
/usr/include/opencv4/opencv2/core/mat.hpp:810:5: note: candidate: ‘cv::Mat::Mat()’
  810 |     Mat() CV_NOEXCEPT;
      |     ^~~
/usr/include/opencv4/opencv2/core/mat.hpp:810:5: note:   candidate expects 0 arguments, 5 provided
make[2]: *** [CMakeFiles/image_format_converter_node.dir/build.make:63: CMakeFiles/image_format_converter_node.dir/src/image_format_converter_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:168: CMakeFiles/image_format_converter_node.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed   <<< isaac_ros_image_proc [19.2s, exited with code 2]
Aborted  <<< nvblox_rviz_plugin [1min 43s]              
Aborted  <<< isaac_ros_stereo_image_proc [1min 47s]     
Aborted  <<< zed_components [2min 31s]                  
Aborted  <<< nvblox_ros [6min 26s]                                           

Summary: 13 packages finished [7min 24s]
  1 package failed: isaac_ros_image_proc
  4 packages aborted: isaac_ros_stereo_image_proc nvblox_ros nvblox_rviz_plugin zed_components
  2 packages had stderr output: isaac_ros_image_proc isaac_ros_stereo_image_proc
  5 packages not processed

tried system wide JP 5.0 DP on AGX

hemalshahNV commented 2 years ago

Isaac ROS EA3 is only supported on Jetpack 4.6.1 which includes VPI1. Jetpack 5 DP includes VPI2 which is not API compatible with VPI1 unfortunately. These errors are from those changes and they are not difficult to retrofit on your own if you are unable to wait for the next release of Isaac ROS in the meantime.


From: Andrey Volodin @.> Sent: Saturday, April 23, 2022 4:07:00 AM To: NVIDIA-ISAAC-ROS/isaac_ros_visual_slam @.> Cc: Hemal Shah @.>; Mention @.> Subject: Re: [NVIDIA-ISAAC-ROS/isaac_ros_visual_slam] release update for Jetson JP5.0/ zed launchfile (Issue #23)

colcon build --symlink-install

Starting >>> image_transport

Starting >>> isaac_ros_test

Starting >>> isaac_ros_common

Starting >>> nvblox_msgs

Starting >>> zed_interfaces

Starting >>> camera_calibration_parsers

Starting >>> isaac_ros_nvengine_interfaces

Starting >>> isaac_ros_visual_slam_interfaces

Finished <<< isaac_ros_test [7.39s]

Starting >>> nvblox_isaac_sim

[Processing: camera_calibration_parsers, image_transport, isaac_ros_common, isaac_ros_nvengine_interfaces, isaac_ros_visual_slam_interfaces, nvblox_isaac_sim, nvblox_msgs, zed_interfaces]

Finished <<< nvblox_isaac_sim [39.1s]

Finished <<< isaac_ros_common [46.6s]

Finished <<< isaac_ros_nvengine_interfaces [50.1s]

Starting >>> isaac_ros_nvengine

Finished <<< camera_calibration_parsers [50.4s]

Starting >>> camera_info_manager

Finished <<< nvblox_msgs [57.4s]

Starting >>> nvblox_ros

Starting >>> nvblox_nav2

Starting >>> nvblox_rviz_plugin

Finished <<< camera_info_manager [19.6s]

[Processing: image_transport, isaac_ros_nvengine, isaac_ros_visual_slam_interfaces, nvblox_nav2, nvblox_ros, nvblox_rviz_plugin, zed_interfaces]

Finished <<< isaac_ros_nvengine [53.6s]

Finished <<< nvblox_nav2 [47.4s]

Finished <<< isaac_ros_visual_slam_interfaces [1min 54s]

Finished <<< zed_interfaces [2min 16s]

Finished <<< image_transport [2min 20s]

Starting >>> isaac_ros_image_proc

Starting >>> zed_components

Starting >>> isaac_ros_stereo_image_proc

Starting >>> image_common

Finished <<< image_common [4.15s]

--- stderr: isaac_ros_image_proc

In file included from /home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:33:

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp: In function ‘cv::Mat {anonymous}::GetConvertedMat(VPIImageImpl&, VPIImageImpl&, VPIStreamImpl*&, const cv::Mat&, uint32_t, std::string, std::string)’:

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:68:5: error: ‘vpiImageCreateOpenCVMatWrapper’ was not declared in this scope; did you mean ‘vpiImageCreateWrapper’?

68 | vpiImageCreateOpenCVMatWrapper(

  |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/nvidia/zed_ws/install/isaac_ros_common/include/isaac_ros_common/vpi_utilities.hpp:20:25: note: in definition of macro ‘CHECK_STATUS’

20 | VPIStatus status = (STMT); \

  |                         ^~~~

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:81:61: error: too many arguments to function ‘VPIStatus vpiImageLock(VPIImage, VPILockMode)’

81 | CHECK_STATUS(vpiImageLock(output, VPI_LOCK_READ, &out_data));

  |                                                             ^

/home/nvidia/zed_ws/install/isaac_ros_common/include/isaac_ros_common/vpi_utilities.hpp:20:25: note: in definition of macro ‘CHECK_STATUS’

20 | VPIStatus status = (STMT); \

  |                         ^~~~

In file included from /home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:28:

/opt/nvidia/vpi2/include/vpi/Image.h:556:22: note: declared here

556 | VPI_PUBLIC VPIStatus vpiImageLock(VPIImage img, VPILockMode mode);

  |                      ^~~~~~~~~~~~

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:82:31: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’

82 | cv::Mat output_mat{out_data.planes[0].height, out_data.planes[0].width,

  |                               ^~~~~~

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:82:58: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’

82 | cv::Mat output_mat{out_data.planes[0].height, out_data.planes[0].width,

  |                                                          ^~~~~~

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:83:54: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’

83 | g_str_to_channels.at(encoding_desired), out_data.planes[0].data,

  |                                                      ^~~~~~

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:84:34: error: ‘VPIImageData’ {aka ‘struct VPIImageDataRec’} has no member named ‘planes’

84 | static_cast(out_data.planes[0].pitchBytes)};

  |                                  ^~~~~~

/home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:84:55: error: no matching function for call to ‘cv::Mat::Mat()’

84 | static_cast(out_data.planes[0].pitchBytes)};

  |                                                       ^

In file included from /usr/include/opencv4/opencv2/core.hpp:58,

             from /usr/include/opencv4/opencv2/core/core.hpp:48,

             from /opt/ros/foxy/include/cv_bridge/cv_bridge.h:43,

             from /home/nvidia/zed_ws/src/isaac_ros_image_pipeline/isaac_ros_image_proc/src/image_format_converter_node.cpp:20:

/usr/include/opencv4/opencv2/core/mat.hpp:2091:5: note: candidate: ‘cv::Mat::Mat(cv::Mat&&)’

2091 | Mat(Mat&& m);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:2091:5: note: candidate expects 1 argument, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:1051:14: note: candidate: ‘cv::Mat::Mat(const cv::cuda::GpuMat&)’

1051 | explicit Mat(const cuda::GpuMat& m);

  |              ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1051:14: note: candidate expects 1 argument, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:1048:37: note: candidate: ‘template cv::Mat::Mat(const cv::MatCommaInitializer_<_Tp>&)’

1048 | template explicit Mat(const MatCommaInitializer_<_Tp>& commaInitializer);

  |                                     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1048:37: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1044:37: note: candidate: ‘template cv::Mat::Mat(const cv::Point3_<_Tp>&, bool)’

1044 | template explicit Mat(const Point3_<_Tp>& pt, bool copyData=true);

  |                                     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1044:37: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1040:37: note: candidate: ‘template cv::Mat::Mat(const cv::Point_<_Tp>&, bool)’

1040 | template explicit Mat(const Point_<_Tp>& pt, bool copyData=true);

  |                                     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1040:37: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1036:51: note: candidate: ‘template<class _Tp, int m, int n> cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool)’

1036 | template<typename _Tp, int m, int n> explicit Mat(const Matx<_Tp, m, n>& mtx, bool copyData=true);

  |                                                   ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1036:51: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1032:44: note: candidate: ‘template<class _Tp, int n> cv::Mat::Mat(const cv::Vec<_Tp, m>&, bool)’

1032 | template<typename _Tp, int n> explicit Mat(const Vec<_Tp, n>& vec, bool copyData=true);

  |                                            ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1032:44: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1028:49: note: candidate: ‘template<class _Tp, long unsigned int _Nm> cv::Mat::Mat(const std::array<_Tp, _Nm>&, bool)’

1028 | template<typename _Tp, size_t _Nm> explicit Mat(const std::array<_Tp, _Nm>& arr, bool copyData=false);

  |                                                 ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1028:49: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1024:37: note: candidate: ‘template cv::Mat::Mat(std::initializer_list, std::initializer_list<_Tp>)’

1024 | template explicit Mat(const std::initializer_list sizes, const std::initializer_list<_Tp> list);

  |                                     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1024:37: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1020:14: note: candidate: ‘template<class _Tp, class> cv::Mat::Mat(std::initializer_list<_Tp>)’

1020 | explicit Mat(const std::initializer_list<_Tp> list);

  |              ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1020:14: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:1015:37: note: candidate: ‘template cv::Mat::Mat(const std::vector&, bool)’

1015 | template explicit Mat(const std::vector<_Tp>& vec, bool copyData=false);

  |                                     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:1015:37: note: template argument deduction/substitution failed:

/usr/include/opencv4/opencv2/core/mat.hpp:997:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const std::vector&)’

997 | Mat(const Mat& m, const std::vector& ranges);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:997:5: note: candidate expects 2 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:987:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const cv::Range*)’

987 | Mat(const Mat& m, const Range* ranges);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:987:5: note: candidate expects 2 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:977:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const Rect&)’

977 | Mat(const Mat& m, const Rect& roi);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:977:5: note: candidate expects 2 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:967:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&, const cv::Range&, const cv::Range&)’

967 | Mat(const Mat& m, const Range& rowRange, const Range& colRange=Range::all());

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:967:5: note: candidate expects 3 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:955:5: note: candidate: ‘cv::Mat::Mat(const std::vector&, int, void, const size_t)’

955 | Mat(const std::vector& sizes, int type, void data, const size_t steps=0);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:955:5: note: candidate expects 4 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:941:5: note: candidate: ‘cv::Mat::Mat(int, const int, int, void, const size_t*)’

941 | Mat(int ndims, const int sizes, int type, void data, const size_t* steps=0);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:941:5: note: conversion of argument 1 would be ill-formed:

/usr/include/opencv4/opencv2/core/mat.hpp:926:5: note: candidate: ‘cv::Mat::Mat(cv::Size, int, void*, size_t)’

926 | Mat(Size size, int type, void* data, size_t step=AUTO_STEP);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:926:5: note: candidate expects 4 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:910:5: note: candidate: ‘cv::Mat::Mat(int, int, int, void*, size_t)’

910 | Mat(int rows, int cols, int type, void* data, size_t step=AUTO_STEP);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:910:5: note: conversion of argument 1 would be ill-formed:

/usr/include/opencv4/opencv2/core/mat.hpp:894:5: note: candidate: ‘cv::Mat::Mat(const cv::Mat&)’

894 | Mat(const Mat& m);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:894:5: note: candidate expects 1 argument, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:884:5: note: candidate: ‘cv::Mat::Mat(const std::vector&, int, const Scalar&)’

884 | Mat(const std::vector& sizes, int type, const Scalar& s);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:884:5: note: candidate expects 3 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:874:5: note: candidate: ‘cv::Mat::Mat(int, const int*, int, const Scalar&)’

874 | Mat(int ndims, const int* sizes, int type, const Scalar& s);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:874:5: note: candidate expects 4 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:863:5: note: candidate: ‘cv::Mat::Mat(const std::vector&, int)’

863 | Mat(const std::vector& sizes, int type);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:863:5: note: candidate expects 2 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:856:5: note: candidate: ‘cv::Mat::Mat(int, const int*, int)’

856 | Mat(int ndims, const int* sizes, int type);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:856:5: note: candidate expects 3 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:848:5: note: candidate: ‘cv::Mat::Mat(cv::Size, int, const Scalar&)’

848 | Mat(Size size, int type, const Scalar& s);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:848:5: note: candidate expects 3 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:837:5: note: candidate: ‘cv::Mat::Mat(int, int, int, const Scalar&)’

837 | Mat(int rows, int cols, int type, const Scalar& s);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:837:5: note: candidate expects 4 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:826:5: note: candidate: ‘cv::Mat::Mat(cv::Size, int)’

826 | Mat(Size size, int type);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:826:5: note: candidate expects 2 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:818:5: note: candidate: ‘cv::Mat::Mat(int, int, int)’

818 | Mat(int rows, int cols, int type);

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:818:5: note: candidate expects 3 arguments, 5 provided

/usr/include/opencv4/opencv2/core/mat.hpp:810:5: note: candidate: ‘cv::Mat::Mat()’

810 | Mat() CV_NOEXCEPT;

  |     ^~~

/usr/include/opencv4/opencv2/core/mat.hpp:810:5: note: candidate expects 0 arguments, 5 provided

make[2]: *** [CMakeFiles/image_format_converter_node.dir/build.make:63: CMakeFiles/image_format_converter_node.dir/src/image_format_converter_node.cpp.o] Error 1

make[1]: *** [CMakeFiles/Makefile2:168: CMakeFiles/image_format_converter_node.dir/all] Error 2

make: *** [Makefile:141: all] Error 2


Failed <<< isaac_ros_image_proc [19.2s, exited with code 2]

Aborted <<< nvblox_rviz_plugin [1min 43s]

Aborted <<< isaac_ros_stereo_image_proc [1min 47s]

Aborted <<< zed_components [2min 31s]

Aborted <<< nvblox_ros [6min 26s]

Summary: 13 packages finished [7min 24s]

1 package failed: isaac_ros_image_proc

4 packages aborted: isaac_ros_stereo_image_proc nvblox_ros nvblox_rviz_plugin zed_components

2 packages had stderr output: isaac_ros_image_proc isaac_ros_stereo_image_proc

5 packages not processed

tried system wide JP 5.0 DP on AGX

— Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/23#issuecomment-1107453443, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASS44RRZXGBWNPDIEJV6FU3VGPKVJANCNFSM5T4HKSNA. You are receiving this because you were mentioned.Message ID: @.***>

AndreV84 commented 2 years ago

@hemalshahNV Thank you for letting me know! Could you also extend, on the following, please?

  1. Is it possible to run elbrus isaac sdk bazel implementation on Jetson on DP5.0 without ROS at all, but using bazel
  2. The isaac odometry package that was installible in container on Jetpack 4.6.1 before with newer isaac common release seems got substituted with isaac_ros_slam node, which makes not possible further to use the previously published zed launch file as in https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/8
hemalshahNV commented 2 years ago

For #1, no, not easily at least because Elbrus in Isaac SDK 2021.1 was linked against CUDA 10.2 and Jetpack 5 DP has CUDA 11.4. For #2, we dropped the launch files for ZED because we could not ensure the Stereolabs SDK was setup in a specific way for us to work against. You can revive the previous launch file and get it to work but we could not ensure it would work for everyone so we left it as an exercise to the reader.


From: Andrey Volodin @.> Sent: Saturday, April 23, 2022 8:53:56 PM To: NVIDIA-ISAAC-ROS/isaac_ros_visual_slam @.> Cc: Hemal Shah @.>; Mention @.> Subject: Re: [NVIDIA-ISAAC-ROS/isaac_ros_visual_slam] release update for Jetson JP5.0/ zed launchfile (Issue #23)

@hemalshahNVhttps://github.com/hemalshahNV Thank you for letting me know! Could you also extend, on the following, please?

  1. Is it possible to run elbrus isaac sdk bazel implementation on Jetson on DP5.0 without ROS at all, but using bazel
  2. The isaac odometry package that was installible in container on Jetpack 4.6.1 before with newer isaac common release seems got substituted with isaac_ros_slam node, which makes not possible further to use the previously published zed launch file as in #8https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/8

— Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/23#issuecomment-1107702840, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASS44RQ7WADSFIHLL4QVJ3TVGTAVJANCNFSM5T4HKSNA. You are receiving this because you were mentioned.Message ID: @.***>

AndreV84 commented 2 years ago

@hemalshahNV pertaining #1 can we run isaac sdk bazel implementation of elbrus on JP 4.6.1? Moreover, Isaac SDK install_dependencies script already supports cuda 11.x if executed with experimental argument pointing to cuda 11 version, right? regarding the #2. I retrieved the previous implementation of the node that got the zed launch file, but now seems the ros_issaac common container https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common doesn't support building the node 0.91-ea2. Which exactly version of the common repository to use with https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/archive/refs/tags/v0.9.1-ea2.tar.gz ? Thanks

hemalshahNV commented 2 years ago

Re; #1, Isaac SDK 2021.1 is only supported on JP 4.5.1 with CUDA 10.2. Re: #2, the isaac_ros_visual_slam package changed significantly enough that we changed its name. You may want to start with another launch file in the latest EA3 release like the Realsense version and adapt it to ZED.

MrOCW commented 2 years ago

@hemalshahNV I have made changes to the VPI related code, but i'm getting /usr/bin/ld: warning: libcublas.so.10, needed by .../isaac_ros_visual_slam/isaac_ros_visual_slam/elbrus/lib_aarch64_xavier/libelbrus.so, not found (try using -rpath or -rpath-link) Is there a way to link it to CUDA11 instead?

hemalshahNV commented 2 years ago

This currently released version of Isaac ROS Visual SLAM uses libraries built against CUDA 10.2 (Jetpack 4.6.1). In our upcoming release, they will be built against CUDA 11.4 on Jetson and CUDA 11.6.1 on x86_64 though.

hemalshahNV commented 1 year ago

Jetpack 5 DP support is coming in an upcoming release.


From: Andrey Volodin @.> Sent: Wednesday, April 20, 2022 7:35:57 PM To: NVIDIA-ISAAC-ROS/isaac_ros_visual_slam @.> Cc: Subscribed @.***> Subject: Re: [NVIDIA-ISAAC-ROS/isaac_ros_visual_slam] release update for Jetson JP5.0/ zed launchfile (Issue #23)

seems dockerized setup script causes err on JP5.0

json , stderr: nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/7b7f392016fa624d28c6d4d4dcafb6fe4c810410b735978eb009d2da01ef395a/merged/dev/nvhost-as-gpu: invalid argument: unknown. ~/isaac_ros_common

— Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/23#issuecomment-1104645845, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASS44RRGXGFKQEHSB7UGSZLVGC5I3ANCNFSM5T4HKSNA. You are receiving this because you are subscribed to this thread.Message ID: @.***>