Skip to content

Commit 0424e23

Browse files
committed
Use effective_scale in both point cloud creations
1 parent 954ceb8 commit 0424e23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

roman/map/fastsam_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def run(self, t, pose, img, depth_data=None):
370370
pcd = o3d.geometry.PointCloud.create_from_depth_image(
371371
o3d.geometry.Image(np.ascontiguousarray(depth_obj).astype(np.dtype(depth_obj.dtype).type)),
372372
self.depth_cam_intrinsics,
373-
depth_scale=self.depth_scale,
373+
depth_scale=effective_scale,
374374
depth_trunc=self.max_depth,
375375
stride=self.pcd_stride,
376376
project_valid_depth_only=True

0 commit comments

Comments
 (0)