Closed bjsowa closed 4 months ago
LGTM. Thanks for fixing this bug!! Can really tell people haven't been using that node and that our test coverage needs improvement :-/
This bug was introduced by #188 so I caught it just a day after. I agree that tests should have detected it though.
Using shared_from_this inside a constructor is dangerous:
Right now, running
scan_to_cloud_filter_chain
results instd::bad_weak_ptr
exception.This PR fixes it by using a different constructor for
tf2_ros::MessageFilter