Comments (7)
Hi,
Can you check that you have installed cuda_6.5.19 toolkit. This version has support for GeForce GTX 9XX (970 and 980). It may comes from that point.
The link is here : https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx
Best,
Olivier.
from zed-ros-wrapper.
It turns out that I had some cuda 7.5 so files left over from a prior installation and the SDK was using them to compile for some reason. I ran:
sudo apt-get remove cuda-*
sudo apt-get autoremove
sudo apt-get install cuda-6.5
then installed the SDK and everything is working great.
As a side note, were using depth_image_proc the register the depth image then rtabmap_ros to pull down the VO and mapping for anyone who gets here via the googles.
from zed-ros-wrapper.
Turns out this has only been masked, not solved. I have access to the camera via teh wrapper, but instead of using the GPU its threadlocking itself to a single thread on my CPU and maxing out its bandwidth.
I installed Cuda 6.5 after adding the 6.5.-19 repo, but cuda installed version 6.5.-16 and will not let me change the version with any method Ive tried. Tried using the deb and run files provided in the above link. Tried forcing via a pref file. Have not had any luck. Do you know if this is directly related to the cuda version by any chance?
from zed-ros-wrapper.
I believe it is in the wrapper itself. I notice another wrapper for the Zed is using OpenGL instead of OpenCV, as are the GPU test samples.
I ran the zed samples and the GPU tests all utilize my GPU. The second I use the wrapper, my GPU usage drops and a single thread spikes.
https://i.imgur.com/CTmG8Oh.jpg
https://i.imgur.com/rASKhGk.jpg
from zed-ros-wrapper.
It is most certainly the wrapper as this wrapper utilizes the GPU properly:
https://github.com/Myzhar/ros_zed_cuda_driver
from zed-ros-wrapper.
Hi,
The major part of the ZED SDK is running on GPU for sure, since it is using CUDA and there is no way to run CUDA on a CPU.
the device parameter in the init() function will look for the faster CUDA-capable GPU device, therefore if the function return success, your GTX980 has been taken by the ZED SDK.
A high CPU usage may come from the check of suscribers that returns none. Then no grab is done, therefore no GPU process, and the while loop is running too fast. We update the wrapper with a sleep when there is no suscribers to slow down the while loop.
from zed-ros-wrapper.
While I appreciate and believe that is the approach, in practice I am seeing a different result on 4 different machines.
With the stereolabs wrapper I see spiked CPU and ~10% GPU usage and some dropped frames or lag. With both the stereolabs explorer program and the Myzhar wrapper (simple and regular) I see fluctuating CPU usage and almost maxed out GPU usage with 0 dropped frames or lag. The latter is what I am assuming is the proper result.
I could have an issue with opencv or Cuda, but I doubt that as it is working with your standalone application and the Myzhar wrapper.
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.