Skip to content

Commit

Permalink
Merge pull request #666 from SteveMacenski/kinetic-devel
Browse files Browse the repository at this point in the history
removing recomputation of cluster stats causing assertion error (#634)
  • Loading branch information
mikeferguson authored Mar 13, 2018
2 parents 96ea74b + a468011 commit 51dfabc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions amcl/src/amcl_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1263,11 +1263,6 @@ AmclNode::laserReceived(const sensor_msgs::LaserScanConstPtr& laser_scan)

if(resampled || force_publication)
{
if (!resampled)
{
// re-compute the cluster statistics
pf_cluster_stats(pf_, pf_->sets);
}
// Read out the current hypotheses
double max_weight = 0.0;
int max_weight_hyp = -1;
Expand Down

0 comments on commit 51dfabc

Please sign in to comment.