Comments (5)
I have both OpenCV2.4 and 3.0 in my machine. It seem that the ZED sdk wrapper called some of my ROS components built by OpenCV3. So I just recompile my workspace with OpenCV2.4. Problem solved.
from zed-ros-wrapper.
I had the exactly same problem. Could you tell more detail about how to compile your workspace with OpenCV 2.4? (Not just catkin_make?) Thanks a lot!!!
from zed-ros-wrapper.
@znculee I am not sure if you have the same problem as mine. First of all, you may need to check if your opencv is built with CUDA enabled or not.
In my case, I have "cvbridge" component that particularly built for OpenCV3.0. So I just remove that component and use default cvbridge.
from zed-ros-wrapper.
@prarinya-s I have solve it with compile wrapper package and vision_opencv package (https://github.com/ros-perception/vision_opencv) simultaneously. Thanks!
from zed-ros-wrapper.
ROS has its own copy of opencv. Currently with kinetic its 3.2. When you source the setup,bash script it makes sure it runs that copy of opencv. Sets it up in /tmp during runtime only. Hard to spot it since it disappears as soon as you stop the app that is using it. I have once piece of code that requires 2.4 3.1.1 and 3.2 all cuda enabled including the one that is private to ROS. In order to use cuda you have to grab the source for the ROS package and recompile it with cuda enabled. Uninstall the package from ROS install from the deb you made of opencv with cuda for ROS then reinstall ros-kinetic-desktop or whatever version you previously installed. This is the only way you can get cuda enabled opencv in ROS that will work consistently. If you try and path around it or fiddle with pkgconfig sooner or later it will bite you. ROS does this with several libraries so just because you built them with cuda enabled it doesn't mean they will be that when called by ROS. Really made a difference in the app I was building which is a monocular slam system.
from zed-ros-wrapper.
Related Issues (20)
- Often unable to turn on the cameras HOT 1
- Very low framerate if publish_urdf is set to false HOT 1
- zed-ros-wrapper v3.4.x Fails to Build with Errors (ZED SDK 4.0) HOT 1
- Object Detection on Rosbag Data HOT 1
- Depth image msg contains only zero values HOT 14
- ZED ros wrapper really slow on orin nano! HOT 3
- resolution mismatch for ros noetic HOT 1
- ZED streaming on long range ethernet HOT 1
- Filtered Depth Not published in ROS topic HOT 2
- ZED camera point cloud inaccuracy: white wall HOT 1
- Cannot catkin build with SDK 4.1 HOT 4
- Positional tracking GEN_2 strange behaviors: covariance values and randomly stopping publishing messages HOT 4
- ZED-ROS-ERROR:Invalid calibration file HOT 3
- Documentation update, openni_depth_mode is located in a yaml file not a launch file anymore
- Camera internal parameter problem
- Can´t catkin_make in Win10 ROS noetic HOT 1
- roslaunch hangs on "* Waiting for valid static transformations..." HOT 2
- separate downscale for depth and color (was available before) HOT 2
- rosbag recorded imu and image sampling intervals are not stable HOT 1
- Zed X Position tracking does not move when imu_fusion is True HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zed-ros-wrapper.