Questions tagged [message-filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

slam_toolbox receiving DDS messages in burst

In my system (ROS2 Humble, SICK lidars at 15-20Hz, Ubuntu 22, Cyclone DDS, ROS_LOCALHOST_ONLY=1), the SLAM toolbox (localization mode) is dropping lots of scan messages because it seems to process ...
PatoInso's user avatar
0 votes
1 answer
148 views

Subscribe to geometry_msgs/TransformStamped (tf) Message with message_filters ApproximateTime subscriber

I am trying to use a message_filters::sync::ApproximateTime subscriber in a C++ node that must subscribe to 2 custom messages (which have a Header each), nav_msgs/OccupancyGrid Message, and a tf/...
hunterlineage's user avatar
0 votes
1 answer
24 views

What is exact sync message filter?

I am writing a ROS node for a stereo camera. It publishes sensor_msgs::Image objects to two topics, one for left camera and another for right camera. The subsequent node uses ExactSync synchronizer to ...
user avatar
0 votes
1 answer
2 views

MessageFilter ApproximateTime doesn't call callback function

Hello, I'm trying to implement MessageFilter in a class. I'm using ROS1 Melodic on Ubuntu 18.04. The code compiles without any errors but when I play my bag file, the callback function aren't called. ...
Mehmet Emin's user avatar
0 votes
1 answer
53 views

Problem with Subscriber class from message_filter in Python

I am currently facing a problem, that the Subscriber() is expecting 3 arguments, while in the docs it is always being done with 2: http://docs.ros.org/en/api/message_filters/html/python/ Therefore I ...
user avatar
0 votes
1 answer
92 views

ROS 2 message_filters TimeSynchronizer minimal example does not reach callback function

Description I am trying to get the message_filters::TimeSynchronizer to work on my Linux Ubuntu 18.04 (Linux version 5.4.0-54-generic) and wrote a minimal node, according to other entries in this ...
user avatar
0 votes
1 answer
40 views

What is 'slop' in ApproximateTimeSynchronizer?

I'm going through the message filters in ros noetic and came across the following class. ...
user avatar
2 votes
3 answers
46 views

message_filters doesn't call the callback function

I'm trying to use the message_filters in order to subscribe to two topics. Here's my code ...
user avatar
0 votes
2 answers
9 views

Python: message_filter AttributeError when registering callback

So I've wrapped my python node in a class, and I've been trying to approximate sync two messages at once (one being Image and another custom message ...
user avatar
0 votes
1 answer
4 views

How to invoke a subscriber's callback periodically?

Hello everyone, I would like to sample messages from my sensors' topics every 15 seconds (mostly) synchronically, using message_filters.ApproximateTimeSynchronizer. Is that any possible way to ...
user avatar
0 votes
1 answer
16 views

Approximate time sync callback delay issue

I have a ros bag with 6 pairs of stereo image. I can subscribe to two (left & right) image topics using approximate time sync policy. The unusual thing I noticed is that the last image pair is ...
user avatar
0 votes
1 answer
12 views

roscpp message_filters ApproximateTime API questions

Hi, I have two questions regarding using message_filters ApproximateTimePolicy. From the example, it is not quite clear how I can specify the delay (in seconds) between messages that they can be ...
user avatar
0 votes
1 answer
5 views

Is there any way to subscribe a topic in message_filter and not filtering it?

Hi, I am subscribing two topics (servo position and laser scan) in message_filter for my application. Now, when I use approximate_time_synchronizer, as laser scan publishes in low frequency, ...
user avatar
0 votes
1 answer
2 views

how to publish topics while using messagefilter?

Hi, I am using an LRF and a servo for my application and need to synchrnize the position of servo and laser data in time. I looked into message_filter and trying to ...
user avatar
0 votes
1 answer
2 views

ROS message_filter ExactTime queue

Hallo community, I want to provide only the newest combined RGBD message to a image processing nodelet. For this purpose I use the exact time synchronizer. But Im still a little bit uncertain which ...
user avatar
0 votes
1 answer
25 views

Approximate time synchronizer for Different message Types

Hi everyone, I am trying to incorporate message filtering in my code. I need to subscribe to two topics and execute the callback when both topics get a message at the same time (or approximately). ...
user avatar
0 votes
1 answer
16 views

tf message_filters and child_frame_id

Message filters are handy when you want to only fire callbacks if a transform is available for the data contained therein. The user sets the target frame_id, and presumably the source frame_id is ...
automatom's user avatar
  • 5,542
0 votes
1 answer
4 views

tf::MessageFilter, laser callback in gmapping

hi , i am working with offlinedata to build gridmap using gmapping in ros. My query is why SlamGMapping::laserCallback is not getting called everytime it recieves a ...
user avatar
0 votes
1 answer
2 views

ApproximateTime Policy of message filter doesn't filter right

Hi all, I would like to synchronize some of my sensordata (kinect and a webcam) in the mater of time. My webcam seems to put everything in a internal memory before transmitting it. Because of that I ...
user avatar
0 votes
1 answer
2 views

callback for two topics at the same time

Hi everyone, I would like to save an image from a depthcamera and a webcam at the same time as a mouse click. So I subscribed to the depth image and in this callback I used ...
user avatar
0 votes
1 answer
1 view

How to manually add messages to tf::MessageFilter?

Hi, Is it possible to manually add messages to a tf::MessageFilter queue instead of connecting the filter's input to a subscriber? The add(...) methods provided in the API only seem to work with other ...
user avatar
0 votes
1 answer
4 views

Unable to visualize segmented pointcloud in rviz

Hi, I used the segmentation code in the http://pointclouds.org/documentation/tutorials/planar_segmentation.php to segment the pointclouds published by the kinect. I just have the inliers into the ...
user avatar