Skip to content

Commit 23b75aa

Browse files
authored
Change map_resample_factor to depth_resample_factor (#521)
1 parent bdc2fe1 commit 23b75aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

zed_wrapper/params/common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ depth:
3737
sensing_mode: 0 # '0': STANDARD, '1': FILL (not use FILL for robotic applications)
3838
depth_stabilization: 1 # `0`: disabled, `1`: enabled
3939
openni_depth_mode: 0 # '0': 32bit float meters, '1': 16bit uchar millimeters
40-
map_resample_factor: 1.0 # Resample factor for depth data matrices [0.01,1.0] The SDK works with native data sizes, but publishes rescaled matrices (depth map, point cloud, ...)
40+
depth_resample_factor: 1.0 # Resample factor for depth data matrices [0.01,1.0] The SDK works with native data sizes, but publishes rescaled matrices (depth map, point cloud, ...)
4141

4242
pos_tracking:
4343
publish_tf: true # publish `odom -> base_link` TF

zed_wrapper/src/nodelet/src/zed_wrapper_nodelet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ void ZEDWrapperNodelet::readParameters() {
578578
NODELET_INFO_STREAM(" * Minimum depth\t\t-> " << mCamMinDepth << " m");
579579
mNhNs.getParam("depth/max_depth", mCamMaxDepth);
580580
NODELET_INFO_STREAM(" * Maximum depth\t\t-> " << mCamMaxDepth << " m");
581-
mNhNs.getParam("depth/map_resample_factor", mCamDepthResizeFactor);
581+
mNhNs.getParam("depth/depth_resample_factor", mCamDepthResizeFactor);
582582
NODELET_INFO_STREAM(" * Depth resample factor\t-> " << mCamDepthResizeFactor);
583583
// <----- Depth
584584

0 commit comments

Comments
 (0)