- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to create a bounding box for the depth pointcloud for the D435? I'm using the camera with ROS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope this link will be of use to you. It was originally suggested to someone who was using ROS and OpenCV.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope this link will be of use to you. It was originally suggested to someone who was using ROS and OpenCV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would think that the Depth Clamp Min/Max option would be a possibility for setting a maximum depth that values can be considered valid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marty,
I can do that using the realsense-viewer. How do I do it for use with ROS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe you would have to do it from a C++ script rather than ROS, like the script in the link below.
https://github.com/IntelRealSense/librealsense/issues/2199# issuecomment-410694607 Set depth clamp min/max from C++ and python code · Issue # 2199 · IntelRealSense/librealsense · GitHub
The key line in the script for setting the depth max value is:
depth_table.depthClampMax = 1300; // 1m30 if depth unit at 0.001
Change the '1300' value to whatever will produce the maximum distance in meters that you desire. The value is in mm, so work out the distance in meters that you want your MaxZ to be and then multiply it by 1000 (1000 mm is 1 m) and you will get the value to use.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page