GithubHelp home page GithubHelp logo

whill-labs / gpu_stereo_image_proc Goto Github PK

View Code? Open in Web Editor NEW
74.0 74.0 21.0 78 KB

Stereo and image rectification and disparity processing with NVIDIA VisionWorks and fixstars libSGM

License: BSD 3-Clause "New" or "Revised" License

CMake 4.46% Python 6.30% C++ 89.24%

gpu_stereo_image_proc's People

Contributors

whill-sysdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpu_stereo_image_proc's Issues

catkin_make failed

Hello, I have tried to ctakin_make the project on Jetson Nano but I have encountered the following error.
I have checked some posts related and it seems the error can be fixed by C++14 arguments in the compiler options.
But I have checked this project CMakeLists.txt and it looks like the project has already took care of this so I am confused by the results.


Base path: /home/xxxx/Projects/gpu_stereo
Source space: /home/xxxx/Projects/gpu_stereo/src
Build space: /home/xxxx/Projects/gpu_stereo/build
Devel space: /home/xxxx/Projects/gpu_stereo/devel
Install space: /home/xxxx/Projects/gpu_stereo/install
####
#### Running command: "cmake /home/xxxx/Projects/gpu_stereo/src -DCATKIN_DEVEL_PREFIX=/home/xxxx/Projects/gpu_stereo/devel -DCMAKE_INSTALL_PREFIX=/home/xxxx/Projects/gpu_stereo/install -G Unix Makefiles" in "/home/xxxx/Projects/gpu_stereo/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/xxxx/Projects/gpu_stereo/devel
-- Using CMAKE_PREFIX_PATH: /home/xxxx/Projects/stereows/devel;/opt/ros/melodic
-- This workspace overlays: /home/xxxx/Projects/stereows/devel;/opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/xxxx/Projects/gpu_stereo/build/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") 
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.29
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - gpu_stereo_image_proc
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'gpu_stereo_image_proc'
-- ==> add_subdirectory(gpu_stereo_image_proc)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   thread
--   chrono
--   system
--   date_time
--   atomic
-- Found CUDA: /usr/local/cuda (found suitable exact version "10.2") 
-- Found CUDA: /usr/local/cuda (found version "10.2") 
-- Autodetected CUDA architecture(s): 5.3 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxxx/Projects/gpu_stereo/build
####
#### Running command: "make -j4 -l4" in "/home/xxxx/Projects/gpu_stereo/build"
####
Scanning dependencies of target ext-libSGM
Scanning dependencies of target gpu_stereo_image_proc_gencfg
[ 14%] Creating directories for 'ext-libSGM'
[ 14%] Generating dynamic reconfigure files from cfg/VXSGBM.cfg: /home/xxxx/Projects/gpu_stereo/devel/include/gpu_stereo_image_proc/VXSGBMConfig.h /home/xxxx/Projects/gpu_stereo/devel/lib/python2.7/dist-packages/gpu_stereo_image_proc/cfg/VXSGBMConfig.py
[ 14%] Generating dynamic reconfigure files from cfg/LIBSGM.cfg: /home/xxxx/Projects/gpu_stereo/devel/include/gpu_stereo_image_proc/LIBSGMConfig.h /home/xxxx/Projects/gpu_stereo/devel/lib/python2.7/dist-packages/gpu_stereo_image_proc/cfg/LIBSGMConfig.py
Generating reconfiguration files for VXSGBM in gpu_stereo_image_proc
Generating reconfiguration files for LIBSGM in gpu_stereo_image_proc
Wrote header file in /home/xxxx/Projects/gpu_stereo/devel/include/gpu_stereo_image_proc/VXSGBMConfig.h
Wrote header file in /home/xxxx/Projects/gpu_stereo/devel/include/gpu_stereo_image_proc/LIBSGMConfig.h
[ 19%] Performing download step (git clone) for 'ext-libSGM'
Cloning into 'libSGM'...
[ 19%] Built target gpu_stereo_image_proc_gencfg
Scanning dependencies of target vx_stereo_image_proc
[ 23%] Building CXX object gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/libgpu_stereo_image_proc/vx_stereo_matcher.cpp.o
[ 28%] Building CXX object gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/libgpu_stereo_image_proc/vx_sgbm_processor.cpp.o
[ 33%] Building CXX object gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/libgpu_stereo_image_proc/sgbm_processor.cpp.o
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'test/googletest' (https://github.com/google/googletest.git) registered for path 'test/googletest'
Cloning into '/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/libSGM/test/googletest'...
In file included from /home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:35:0:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h: In function ‘gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag gpu_stereo_image_proc::operator|(gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag, gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag)’:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:203:18: error: ‘underlying_type_t’ in namespace ‘std’ does not name a template type
   using T = std::underlying_type_t;
                  ^~~~~~~~~~~~~~~~~
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:204:70: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) | static_cast(rhs));
                                                                      ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:204:92: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) | static_cast(rhs));
                                                                                            ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h: In function ‘gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag gpu_stereo_image_proc::operator&(gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag, gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag)’:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:210:18: error: ‘underlying_type_t’ in namespace ‘std’ does not name a template type
   using T = std::underlying_type_t;
                  ^~~~~~~~~~~~~~~~~
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:211:70: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) & static_cast(rhs));
                                                                      ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:211:92: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) & static_cast(rhs));
                                                                                            ^
In file included from /home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/vx_sgbm_processor.h:37:0,
                 from /home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/vx_sgbm_processor.cpp:34:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h: In function ‘gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag gpu_stereo_image_proc::operator|(gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag, gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag)’:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:203:18: error: ‘underlying_type_t’ in namespace ‘std’ does not name a template type
   using T = std::underlying_type_t;
                  ^~~~~~~~~~~~~~~~~
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:204:70: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) | static_cast(rhs));
                                                                      ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:204:92: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) | static_cast(rhs));
                                                                                            ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h: In function ‘gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag gpu_stereo_image_proc::operator&(gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag, gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag)’:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:210:18: error: ‘underlying_type_t’ in namespace ‘std’ does not name a template type
   using T = std::underlying_type_t;
                  ^~~~~~~~~~~~~~~~~
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:211:70: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) & static_cast(rhs));
                                                                      ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp: In member function ‘bool gpu_stereo_image_proc::StereoSGBMProcessor::process(const ImageConstPtr&, const ImageConstPtr&, const image_geometry::StereoCameraModel&, gpu_stereo_image_proc::StereoImageSet&, gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag) const’:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:49:18: error: ‘underlying_type_t’ in namespace ‘std’ does not name a template type
   using T = std::underlying_type_t;
                  ^~~~~~~~~~~~~~~~~
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:211:92: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) & static_cast(rhs));
                                                                                            ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:53:18: error: ‘T’ does not name a type
   if(static_cast(flags & ImageProcFlag::STEREO_ALL))
                  ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:59:18: error: ‘T’ does not name a type
   if(static_cast(flags & (ImageProcFlag::POINT_CLOUD | ImageProcFlag::POINT_CLOUD2)))
                  ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:65:80: error: ‘T’ does not name a type
   if(!mono_processor_.process(left_raw, model.left(), output.left, static_cast(left_flags)))
                                                                                ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:67:83: error: ‘T’ does not name a type
   if(!mono_processor_.process(right_raw, model.right(), output.right, static_cast(right_flags) >> 4))
                                                                                   ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:71:18: error: ‘T’ does not name a type
   if(static_cast(flags & ImageProcFlag::DISPARITY))
                  ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:77:18: error: ‘T’ does not name a type
   if(static_cast(flags & ImageProcFlag::POINT_CLOUD))
                  ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/sgbm_processor.cpp:83:18: error: ‘T’ does not name a type
   if(static_cast(flags & ImageProcFlag::POINT_CLOUD2))
                  ^
[ 38%] Building CXX object gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/nodelets/vx_disparity.cpp.o
gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/build.make:86: recipe for target 'gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/libgpu_stereo_image_proc/vx_sgbm_processor.cpp.o' failed
make[2]: *** [gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/libgpu_stereo_image_proc/vx_sgbm_processor.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/build.make:110: recipe for target 'gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/libgpu_stereo_image_proc/sgbm_processor.cpp.o' failed
make[2]: *** [gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/libgpu_stereo_image_proc/sgbm_processor.cpp.o] Error 1
Submodule path 'test/googletest': checked out '2fe3bd994b3189899d93f1d5a881e725e046fdc2'
[ 47%] Performing update step for 'ext-libSGM'
[ 47%] No patch step for 'ext-libSGM'
Current branch master is up to date.
[ 52%] Performing configure step for 'ext-libSGM'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
In file included from /home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/vx_sgbm_processor.h:37:0,
                 from /home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/src/nodelets/vx_disparity.cpp:58:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h: In function ‘gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag gpu_stereo_image_proc::operator|(gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag, gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag)’:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:203:18: error: ‘underlying_type_t’ in namespace ‘std’ does not name a template type
   using T = std::underlying_type_t;
                  ^~~~~~~~~~~~~~~~~
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:204:70: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) | static_cast(rhs));
                                                                      ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:204:92: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) | static_cast(rhs));
                                                                                            ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h: In function ‘gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag gpu_stereo_image_proc::operator&(gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag, gpu_stereo_image_proc::StereoSGBMProcessor::ImageProcFlag)’:
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:210:18: error: ‘underlying_type_t’ in namespace ‘std’ does not name a template type
   using T = std::underlying_type_t;
                  ^~~~~~~~~~~~~~~~~
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:211:70: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) & static_cast(rhs));
                                                                      ^
/home/xxxx/Projects/gpu_stereo/src/gpu_stereo_image_proc/include/gpu_stereo_image_proc/sgbm_processor.h:211:92: error: ‘T’ does not name a type
   return static_cast(static_cast(lhs) & static_cast(rhs));
                                                                                            ^
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found CUDA: /usr/local/cuda (found suitable exact version "10.2") 
-- Found OpenCV: /usr (found version "4.4.0") found components:  core 
-- Found CUDA: /usr/local/cuda (found version "10.2") 
-- Autodetected CUDA architecture(s): 5.3 
-- CUDA_ARCH: "-gencode;arch=compute_53,code=sm_53"
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/ext/libSGM/src/ext-libSGM-build
[ 57%] Performing build step for 'ext-libSGM'
[ 14%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_winner_takes_all.cu.o
[ 14%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_census_transform.cu.o
[ 21%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_check_consistency.cu.o
gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/build.make:134: recipe for target 'gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/nodelets/vx_disparity.cpp.o' failed
make[2]: *** [gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/src/nodelets/vx_disparity.cpp.o] Error 1
CMakeFiles/Makefile2:885: recipe for target 'gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/all' failed
make[1]: *** [gpu_stereo_image_proc/CMakeFiles/vx_stereo_image_proc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 28%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_correct_disparity_range.cu.o
[ 35%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_cuda_utils.cu.o
[ 42%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_horizontal_path_aggregation.cu.o
[ 50%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_median_filter.cu.o
[ 57%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_oblique_path_aggregation.cu.o
[ 64%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_path_aggregation.cu.o
[ 71%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_sgm.cu.o
[ 78%] Building NVCC (Device) object src/CMakeFiles/sgm.dir/sgm_generated_vertical_path_aggregation.cu.o
Scanning dependencies of target sgm
[ 92%] Building CXX object src/CMakeFiles/sgm.dir/stereo_sgm.cpp.o
[ 92%] Building CXX object src/CMakeFiles/sgm.dir/libsgm_wrapper.cpp.o
[100%] Linking CXX shared library libsgm.so
[100%] Built target sgm
[ 61%] Performing install step for 'ext-libSGM'
-- Found CUDA: /usr/local/cuda (found suitable exact version "10.2") 
-- Found CUDA: /usr/local/cuda (found version "10.2") 
-- Autodetected CUDA architecture(s): 5.3 
-- CUDA_ARCH: "-gencode;arch=compute_53,code=sm_53"
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/ext/libSGM/src/ext-libSGM-build
[  7%] Linking CXX shared library libsgm.so
[100%] Built target sgm
Install the project...
-- Install configuration: ""
-- Installing: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/libSGM/lib/libsgm.so
-- Set runtime path of "/home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/libSGM/lib/libsgm.so" to ""
-- Installing: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/libSGM/include
-- Installing: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/libSGM/include/libsgm_config.h
-- Installing: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/libSGM/include/libsgm.h
-- Installing: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/libSGM/include/libsgm_wrapper.h
-- Installing: /home/xxxx/Projects/gpu_stereo/build/gpu_stereo_image_proc/libSGM/FindLibSGM.cmake
[ 66%] Completed 'ext-libSGM'
[ 66%] Built target ext-libSGM
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed




INFO: Starting up the gpu_stereo_image_proc comparision.launch

I stumbled over the gpu_stereo_image_proc package and i git cloned it trying to get it to run on a nvidia gtx1080ti and nvidia xavier. I startup my camera_driver and it is publishing

  • leo_stereo/left/camera_info
  • leo_stereo/left/image_raw
  • leo_stereo/right/camera_info
  • leo_stereo/right/image_raw

I started the nodelet manager:
rosrun nodelet nodelet manager __name:=my_manager
After that i start the gpu_stereo_image_proc:
roslaunch gpu_stereo_image_proc comparision.launch manager:=my_manager __ns:=leo_stereo

and nothing happend. :-(

Thanks to Seiya Shimazu who solved this for me i only needed to ad a "/" in front of the "my_manager" as it moves the manager to global namespace. So if anyone has struggeling to start things up and to minimize frustration i am posting this INFO if anyone else runs into this.
rosrun nodelet nodelet manager __name:=my_manager
roslaunch gpu_stereo_image_proc comparision.launch manager:=/my_manager __ns:=leo_stereo

best regards
Jaronski

VisionWorks crashes when changing min_disparity

When launching the VisionWorks image_proc nodelet via the provided launch file, everything work fines with the default parameters. However, when rqt_reconfigure is used to tune the parameters, changing min_disparity causes the VisionWork nodelet to exit with the following error message.

[ERROR] [1597894512.268134406]: VX ERROR: -10
[FATAL] [1597894512.268307656]: ASSERTION FAILED
	file = /home/ubuntu/cam_ws/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/vx_stereo_matcher.cpp
	line = 215
	cond = status == VX_SUCCESS

Currently am testing the package with L4T 32.4.3 (Ubuntu 18.04) with ROS Melodic, on a Jetson Xavier NX (ARM 64Bit).

Unable to catkin_make on Jetson Nano

Describe the bug
A clear and concise description of what the bug is.
After cloning the repo into my directory, I am unable to catkin_make. The error message is:

error: pathspec 'master' did not match any file(s) known to git.
CMake Error at /home/jetson/stereo_node/build/gpu_stereo_image_proc/ext/libSGM/tmp/ext-libSGM-gitupdate.cmake:147 (message):
Failed to checkout tag: 'master'

gpu_stereo_image_proc/CMakeFiles/ext-libSGM.dir/build.make:94: recipe for target 'gpu_stereo_image_proc/ext/libSGM/src/ext-libSGM-stamp/ext-libSGM-update' failed
make[2]: *** [gpu_stereo_image_proc/ext/libSGM/src/ext-libSGM-stamp/ext-libSGM-update] Error 1
CMakeFiles/Makefile2:4969: recipe for target 'gpu_stereo_image_proc/CMakeFiles/ext-libSGM.dir/all' failed
make[1]: *** [gpu_stereo_image_proc/CMakeFiles/ext-libSGM.dir/all] Error 2

Anyone know the cause of this issue and how to fix it?

Thanks in advance.

Missing image size conversion for vx-disparity

Describe the bug
Image size from vx-disparity is taken from the base class defaulted at (640 x 480), with no way of modifying them in either base or derived class.

For rectified images at other image size the disparity image returns empty for vx. It doesn't show any error messages either as the copy into and from openvx image hides such error status.

To Reproduce
Run vx disparity computation from different image size.

Expected behavior
Should work.
Machine (please complete the following information):

  • OS and version: Ubuntu 18.04
  • ROS version melodic
  • Version or Commit melodic devel

Additional context
one workaround i did now is adding a image_size setter and getter in the sgbm_processor base class. When imageCb gets called in vx, it detects for image size mismatch, resize the image and reapply config.

CV_bridge DIR error Install

I get this error when i try installing gpu_stereo_image_proc on my Jetson Xavier platform..

-- Could NOT find cv_bridge (missing: cv_bridge_DIR)
-- Could not find the required component 'cv_bridge'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "cv_bridge" with
any of the following names:

cv_bridgeConfig.cmake
cv_bridge-config.cmake

Add the installation prefix of "cv_bridge" to CMAKE_PREFIX_PATH or set
"cv_bridge_DIR" to a directory containing one of the above files. If
"cv_bridge" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
gpu_stereo_image_proc/CMakeLists.txt:4 (find_package)

How Can I solve it? Thanks... I think CV_bridge has no support on ROS melodic in Ubuntu 18.04 especially ARM64 paltform

vx_stereo_image_proc crashes with error ASSERTION FAILED

Describe the bug
When attempting to launch vx_stereo_image_proc the nodelet manager crashes with the following error:

[FATAL] [1631111843.471440613]: ASSERTION FAILED
file = /home/james/catkin_ws/src/gpu_stereo_image_proc/src/libgpu_stereo_image_proc/vx_stereo_matcher.cpp
line = 266
cond = status == VX_SUCCESS

The nodelet manager also crashes when attempting to view the vx_points2 in rviz when running comparison.launch. This crash only occurs when the topic is added to RVIZ.

To Reproduce
Launch camera
rosrun nodelet nodelet manager __name:=manager
roslaunch gpu_stereo_image_proc vx_stereo_image_proc.launch manager:=/manager __ns:=/stereo

Expected behavior
The nodelet manager would not crash

Machine (please complete the following information):

  • OS and version: Ubuntu 18.04
  • ROS version: melodic

Additional context
libsgm_stereo_image_proc works just fine

Symbol Lookup Error for libsgm_stereo_image_proc

I've build the package according the instructions. vx_stereo_image_proc runs properly. However, when I try to run libsgm_stereo_image_proc, I get the following error:

/opt/ros/melodic/lib/nodelet/nodelet: symbol lookup error: /home/user/catkin_ws/devel/lib//liblibsgm_stereo_image_proc.so: undefined symbol: _ZNsgm13LibSGMWrapperC1EiiifbNS_8PathTypeEii

This causes a failure to load nodelet /stereo/disparity and /stereo/point_cloud2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.