-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency versions? #4
Comments
The code is only tested under indigo. |
Would you mind providing the OpenCV version and build options you used? It seems like cuda is required and is not built by default or mentioned in your build documentation. For reference, I have tried the following opencv build options with 14.04, ROS indigo, and OpenCV 2.4.13: cmake -G "Unix Makefiles" -DCMAKE_CXX_COMPILER=/usr/bin/g++ CMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/home/jakeware/opencv2 -DWITH_TBB=ON -DBUILD_NEW_PYTHON_SUPPORT=ON -DWITH_V4L=ON -DWITH_QT=OFF -DWITH_OPENGL=ON -DBUILD_FAT_JAVA_LIB=ON -DINSTALL_TO_MANGLED_PATHS=ON -DINSTALL_CREATE_DISTRIB=ON -DENABLE_FAST_MATH=ON -DWITH_IMAGEIO=ON -DWITH_CUBLAS=1 -DCUDA_FAST_MATH=1 -DWITH_GSTREAMER=ON -DCUDA_USE_STATIC_CUDA_RUNTIME=OFF .. But it seems to result in a cuda related runtime error. Thanks. |
I figured most things out, and created a dockerfile that will build VI-MEAN as an image: However, I don't see the reconstructed mesh in rviz when playing the sample.bag. |
This worked for us. Thanks for your help. Others should note that you have to update the gpu architecture by changing the 'CUDA_GENERATION' for the OpenCV build and the nvcc flags in stereo_mapper CMakeLists.txt. |
@jakeware did you build it with OpenCV 3.2.0 or 2.4. |
@maciejmatuszak: We ran that docker build linked above with ros indigo and opencv 2.4.8. |
@maciejmatuszak Have you solved the problem? I am now building it with OpenCV 3.2.0 and ROS Kinetic under Ubuntu 16.04 but got some error when running the ros node.The error message looks like this "OpenCV Error: Assertion failed (!fixedSize()) in release", there may be something wrong about the matrix.cpp of OpenCV3.2, but I can't figure out which line in the stereo_mapper source code lead to the error. The only thing that I change is the stereobm part in the stereo_mapper_node.cpp, using bm->compute of OpenCV3 API instead of bm.operator() of OpenCV2 API. Some header files need to be change to migrate the code to OpenCV3. It can be complied successfully but the error at run time is a trouble. Can someone give me some advice? Edited on Oct 17 |
@andyli |
I'm trying to compile the project, but got several compilation errors. I'm using ROS Kinetic, and got errors about OpenCV, which is of version 3.2 in ROS Kinetic. Maybe this project was developed in another release of ROS or OpenCV?
It would be great if you can clarify.
The text was updated successfully, but these errors were encountered: