Comments (8)
I just wanted to close the loop here incase others find this and are looking for an alternative. Since I mostly needed to get a 2D 'laser scan' from my ZED's depth image I found a way to avoid using the pointcloud, which after profiling the wrapper's C/++ code is def the bottleneck. by using http://wiki.ros.org/depthimage_to_laserscan I am able to get 18+ HZ for the laser scan created from the ZED's HD depth image. Though when enabling MEDIUM or HIGH quality the usefulness of the depth image for laser scans of 'rooms' drops considerably though object detection improves significantly.
from zed-ros-wrapper.
Hi,
Well, depending on your application but several things can be done to speed it up:
- using VGA resolution
- using sl::zed::MODE::PERFORMANCE (not really an option on the TK1, they're both the same)
- using SENSING_MODE::RAW : it's faster and more precise but the occlusions are not filled. This mode should be used in most cases.
- the least CPU operations possible, prefer using the GPU function
- the least copy/retrieve CPU-GPU possible, the memory on the K1 is very slow. You should use zero copy
- disabling display, this prevent from computing unnecessary things like normalizeMeasure() or CPU retrieve to call imshow
Using ROS can reduce the performance, because of the additional processing required. For instance, the images have to be cast in RGB from RGBA in CPU.
Also, we're working on an update that will improve the performance.
from zed-ros-wrapper.
i guess most of the performance parameters are set up in wrapper itself . The frame rate are quite good when i run through sdk.once i switch on to ros everything is very slow.Maybe zed datastructure to opencv conversion problem (just guessing).
All the parameters i tuned to maximum performance . zero copy i am not aware too much how to it fit into the scenario.
I cannot disable disparity ,that what i need as input .
Gui all disabled .
No external cpu / gpu program running.
from zed-ros-wrapper.
I understand, those were general advice.
In case you want the best performance, I recommend not using ROS. ROS is a great tool but too generalised. As a result, the pipeline is not efficient, especially for the TK1.
However, we will look into this to find potential optimizations in the wrapper for the Jetson.
from zed-ros-wrapper.
Since this issues is closed, does that mean the latest commit includes updates which improve framerate? What pointcloud frame rate should we expect using ROS on a TK1? I'm getting about 2Hz for my point cloud. I'm running the launch file from an ssh terminal from the TK1 and RVIZ on a separate laptop.
Are there any other runtime, startup, or environment setup items that could improve performance?
from zed-ros-wrapper.
I am facing the same issue .I migrated from BUMBLEBEE2 to ZED seeing their disparity was damm good. We cannot use big bulky gpu on robot . Their is some problem with data structure coping between opencv and zed .
Waiting for a commit asap .
from zed-ros-wrapper.
What frame rate we get with TX1. Any ideas??
from zed-ros-wrapper.
I'm seeing 2HZ (point cloud) on the TX1 with the below config:
I should also note that I see 18 HZ for /zed/rgb/image_rect_color topic when the point cloud is at just 2hz
resolution = 1
quality = 1
sensind mode = 1
frame rate = 60
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.