Skip to content

Commit

Permalink
Merge pull request ros-perception#35 from asimay/indigo-devel
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
jonbinney committed Feb 25, 2016
2 parents 9147cac + 316a646 commit 6a08db7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/scan_to_scan_filter_chain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,11 @@ class ScanToScanFilterChain
void callback(const sensor_msgs::LaserScan::ConstPtr& msg_in)
{
// Run the filter chain
if (filter_chain_.update(*msg_in, msg_));
if (filter_chain_.update(*msg_in, msg_))
{
//only publish result if filter succeeded
output_pub_.publish(msg_);
}
}
};

Expand Down

0 comments on commit 6a08db7

Please sign in to comment.