Skip to content

Commit cc5e229

Browse files
committed
update depth mode for v4
1 parent 0ffec28 commit cc5e229

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/tag_slam_zed.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ using Trigger = std_srvs::Trigger;
205205
sl::RESOLUTION zed_resol_;
206206
int zed_frame_rate_;
207207
sl::DEPTH_MODE zed_depth_mode_;
208-
sl::SENSING_MODE zed_sensing_mode_;
208+
sl::DEPTH_MODE zed_sensing_mode_;
209209
// double zed_sensor_rate_ = 400.0;
210210
double zed_min_depth_;
211211
double zed_max_depth_;

src/tag_slam_zed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ namespace tagslam_ros {
252252
NODELET_INFO_STREAM(" * Depth quality\t\t-> " << sl::toString(zed_depth_mode_).c_str());
253253

254254
int sensing_mode = getRosOption<int>(pnh_, "depth/sensing_mode", 0);
255-
zed_sensing_mode_ = static_cast<sl::SENSING_MODE>(sensing_mode);
255+
zed_sensing_mode_ = static_cast<sl::DEPTH_MODE>(sensing_mode);
256256
NODELET_INFO_STREAM(" * Depth Sensing mode\t\t-> " << sl::toString(zed_sensing_mode_).c_str());
257257

258258
zed_min_depth_ = getRosOption<double>(pnh_, "depth/min_depth", 0.5);

0 commit comments

Comments
 (0)