Comments (7)
Hi Eric,
We convert the baseline from millimeter to meter, see this line. So yes the depth values we publish are in meters.
from zed-ros-wrapper.
It is not an issue, it is due to the conversion from float to short.
We use it in meter for display purpose. If you want you can apply a scale factor during the conversion function.
from zed-ros-wrapper.
This is an issue, because when converting to short you throw away all the fractional meter information. There's nothing i can do in my code to recover this infomeation. Why not just leave the data as a float, as suggested by REP 118?
from zed-ros-wrapper.
Also, I don't see how that line shows you publish meters. All you're doing there is changing the baseline that's reported to ROS. I don't see how that relates to the calculations done by the zed sdk
from zed-ros-wrapper.
Fixed in #26
from zed-ros-wrapper.
@P-yver: your comments are wrong, and this patch is incorrect. The zed camera returns distances in the same units as the distance between cameras is measured. By default, this is 120mm. Therefore, the depth measurements are returned in mm.
In a previous version of the readme, there were instructions to manually set this baseline to 0.12
. This instruction should no longer apply. Then everything works correctly, and is published to the nearest mm (which is fine).
from zed-ros-wrapper.
I am trying to obtain depth value of each pixel from the zed camera. I am trying to convert the ros image published in the topic
/camera/depth/image_rect_color
to OpenCV image using this.
I am interested in knowing what other approach is possible by just using the zed-ros-wrapper
. Can you pls elaborate your method if not inconvenient for you? Thank You.
from zed-ros-wrapper.
Related Issues (20)
- rostopic image error!!! HOT 2
- Running octomap_server with ZED Mini doesn't show anything. HOT 1
- ZEDX to jetson agx orin (Argus) Error BadParameter: (propagating from src/eglstream/FrameConsumerImpl.cpp, function create(), line 44) HOT 2
- Is there a command available to run all four cameras individually? HOT 1
- (zedx, zedxm)While trying to determine how many cameras were detected using the 'v4l2-ctl --list-devices' command, I encountered a bug. HOT 1
- Offset Reprojecting Depth -> Points HOT 8
- publish tf for odom and map seems to be bugged with nan transform HOT 2
- ZED2 connection -> CAMERA FAILED TO SETUP on cuda 11.7 ,ubuntu 20.04 HOT 1
- Frequency during rosbag HOT 2
- FILL mode back please
- Using Zed2 with Kalibr HOT 2
- C++ static sl::ERROR_CODE reboot does not update imu values from getSensorData after restart. HOT 1
- 'zed2i/zed_node/point_cloud/cloud_registered' topic frequency HOT 4
- ZED-X data timestamps not updated in docker image HOT 5
- 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
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.