Skip to content

Commit

Permalink
make linters happy
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Feb 9, 2024
1 parent 4c48901 commit ee33b37
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions point_cloud_transport/test/test_message_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ void callback(

// TEST_F(TestSubscriber, create_and_release_filter)
// {
// typedef message_filters::sync_policies::ApproximateTime<
// sensor_msgs::msg::PointCloud2, sensor_msgs::msg::PointCloud2>
// ApproximateTimePolicy;
// typedef message_filters::sync_policies::ApproximateTime<
// sensor_msgs::msg::PointCloud2, sensor_msgs::msg::PointCloud2>
// ApproximateTimePolicy;

// TODO(ahcorde): Review this test on Windows
// point_cloud_transport::SubscriberFilter pcl_sub1(node_, "pointcloud1", "raw");
// point_cloud_transport::SubscriberFilter pcl_sub2(node_, "pointcloud2", "raw");
// TODO(ahcorde): Review this test on Windows
// point_cloud_transport::SubscriberFilter pcl_sub1(node_, "pointcloud1", "raw");
// point_cloud_transport::SubscriberFilter pcl_sub2(node_, "pointcloud2", "raw");

// auto sync = std::make_shared<message_filters::Synchronizer<ApproximateTimePolicy>>(
// ApproximateTimePolicy(
// 10), pcl_sub1, pcl_sub2);
// sync->registerCallback(std::bind(callback, std::placeholders::_1, std::placeholders::_2));
// auto sync = std::make_shared<message_filters::Synchronizer<ApproximateTimePolicy>>(
// ApproximateTimePolicy(
// 10), pcl_sub1, pcl_sub2);
// sync->registerCallback(std::bind(callback, std::placeholders::_1, std::placeholders::_2));

// pcl_sub1.unsubscribe();
// pcl_sub2.unsubscribe();
// sync.reset();
// pcl_sub1.unsubscribe();
// pcl_sub2.unsubscribe();
// sync.reset();
// }

int main(int argc, char ** argv)
Expand Down

0 comments on commit ee33b37

Please sign in to comment.