Skip to content

Commit

Permalink
Change map_resample_factor to depth_resample_factor (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzhar authored Feb 12, 2020
1 parent bdc2fe1 commit 23b75aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zed_wrapper/params/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ depth:
sensing_mode: 0 # '0': STANDARD, '1': FILL (not use FILL for robotic applications)
depth_stabilization: 1 # `0`: disabled, `1`: enabled
openni_depth_mode: 0 # '0': 32bit float meters, '1': 16bit uchar millimeters
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, ...)
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, ...)

pos_tracking:
publish_tf: true # publish `odom -> base_link` TF
Expand Down
2 changes: 1 addition & 1 deletion zed_wrapper/src/nodelet/src/zed_wrapper_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ void ZEDWrapperNodelet::readParameters() {
NODELET_INFO_STREAM(" * Minimum depth\t\t-> " << mCamMinDepth << " m");
mNhNs.getParam("depth/max_depth", mCamMaxDepth);
NODELET_INFO_STREAM(" * Maximum depth\t\t-> " << mCamMaxDepth << " m");
mNhNs.getParam("depth/map_resample_factor", mCamDepthResizeFactor);
mNhNs.getParam("depth/depth_resample_factor", mCamDepthResizeFactor);
NODELET_INFO_STREAM(" * Depth resample factor\t-> " << mCamDepthResizeFactor);
// <----- Depth

Expand Down

0 comments on commit 23b75aa

Please sign in to comment.