Skip to content

Commit

Permalink
Update slam_karto_g2o.cpp
Browse files Browse the repository at this point in the history
default behavior is to set use_scan_matching to true.
  • Loading branch information
sauravag authored Jul 1, 2018
1 parent 3f835e2 commit 2beb277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slam_karto_g2o.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ SlamKarto::SlamKarto() :
dataset_ = new karto::Dataset();

// Setting General Parameters from the Parameter Server
bool use_scan_matching;
bool use_scan_matching = true;
if(private_nh_.getParam("use_scan_matching", use_scan_matching))
mapper_->setParamUseScanMatching(use_scan_matching);

Expand Down

0 comments on commit 2beb277

Please sign in to comment.