@@ -54,7 +54,7 @@ MapMerge::MapMerge() : subscriptions_size_(0)
54
54
private_nh.param (" discovery_rate" , discovery_rate_, 0.05 );
55
55
private_nh.param (" estimation_rate" , estimation_rate_, 0.5 );
56
56
private_nh.param (" known_init_poses" , have_initial_poses_, true );
57
- private_nh.param (" estimation_confidence" , confidence_treshold_ , 1.0 );
57
+ private_nh.param (" estimation_confidence" , confidence_threshold_ , 1.0 );
58
58
private_nh.param <std::string>(" robot_map_topic" , robot_map_topic_, " map" );
59
59
private_nh.param <std::string>(" robot_map_updates_topic" ,
60
60
robot_map_updates_topic_, " map_updates" );
@@ -199,7 +199,9 @@ void MapMerge::poseEstimation()
199
199
200
200
std::lock_guard<std::mutex> lock (pipeline_mutex_);
201
201
pipeline_.feed (grids.begin (), grids.end ());
202
- pipeline_.estimateTransforms ();
202
+ // TODO allow user to change feature type
203
+ pipeline_.estimateTransforms (combine_grids::FeatureType::AKAZE,
204
+ confidence_threshold_);
203
205
}
204
206
205
207
void MapMerge::fullMapUpdate (const nav_msgs::OccupancyGrid::ConstPtr& msg,
0 commit comments