Skip to content

Commit

Permalink
removing recomputation of cluster stats causing assertion error (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski authored and mikeferguson committed Mar 13, 2018
1 parent a15d3af commit 9f6809e
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 9f6809e

Please sign in to comment.