Skip to content

Commit

Permalink
point_cloud_xyzrgb: add support for SGBM parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Jun 4, 2024
1 parent a8cefa9 commit c3e27cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rtabmap_util/src/nodelets/point_cloud_xyzrgb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ class PointCloudXYZRGB : public nodelet::Nodelet

// StereoBM parameters
stereoBMParameters_ = rtabmap::Parameters::getDefaultParameters("StereoBM");
uInsert(stereoBMParameters_, rtabmap::Parameters::getDefaultParameters("StereoSGBM"));
stereoBMParameters_.insert(rtabmap::ParametersPair(rtabmap::Parameters::kStereoDenseStrategy(), uNumber2Str(rtabmap::Parameters::defaultStereoDenseStrategy())));
for(rtabmap::ParametersMap::iterator iter=stereoBMParameters_.begin(); iter!=stereoBMParameters_.end(); ++iter)
{
std::string vStr;
Expand Down

0 comments on commit c3e27cf

Please sign in to comment.