Skip to content

Create unique nodes for some filters - #248

Open
jonbinney wants to merge 1 commit into
ros-perception:ros2from
jonbinney:unique-node-names
Open

Create unique nodes for some filters#248
jonbinney wants to merge 1 commit into
ros-perception:ros2from
jonbinney:unique-node-names

Conversation

@jonbinney

Copy link
Copy Markdown
Contributor

This is an attempt to fix #231

@jeaninevbrr jeaninevbrr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added nodes not spinning

@@ -134,33 +141,33 @@ class LaserScanBoxFilter : public filters::FilterBase<sensor_msgs::msg::LaserSca

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add spin_some(node_)

footprint_sub_ = node_->create_subscription<geometry_msgs::msg::Polygon>(footprint_topic_, 1, std::bind(&StaticLaserScanPolygonFilter::footprintCB, this, std::placeholders::_1));
return result;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add spin_some(node_)

footprint_sub_ = node_->create_subscription<geometry_msgs::msg::Polygon>(footprint_topic_, 1, std::bind(&LaserScanPolygonFilterBase::footprintCB, this, std::placeholders::_1));
return result;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add spin_some(node_)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants