Questions tagged [message-filters]
The message-filters tag has no usage guidance.
91
questions
2
votes
0
answers
19
views
Why using tf2 message filters callbacks leads to unexpected concurrency?
everybody. Our team using ROS Humble with Ubuntu 22.04. We have node that is using tf2 message filters to invoke message callbacks after needed transform has been published. The node has three ...
0
votes
0
answers
26
views
Issue with message filter Subscriber in combination with LifecycleNode
I'm facing a compiler problem when trying to use message_filters::Subscribers within a LifecycleNode.
Using these private class variables of my class ...
0
votes
1
answer
37
views
Time synchronized messages from ros2 bags using message filters without ros2 node in C++
ROS2 Humble, Ubuntu 22.04
I have a ros2 bag which contains laserscan (~30Hz) and imu(~200Hz) messages. I am trying to do time synchronization of the two. I have seen several examples of such ...
1
vote
1
answer
8
views
TimeSequencer in message_filters not compiling
I'm trying to use ROS 2 Jazzy message_filters::TimeSequencer with a message_filters::Subscriber to periodically receive messages....
0
votes
0
answers
7
views
Synchronizer not working when built inside a class
I need to subscribe to two different topics (PointCloud2 and PoseStamped) in a synchronized manner.
First thing I did was to write a simple callback function and test if message_filters was working ...
0
votes
0
answers
43
views
ROS2 message_filters: Is it a bug in The Latest Time synchronizer?
In message_filters/include/message_filters/sync_policies/latest_time.h
rates_ is array of ...
0
votes
2
answers
203
views
ROS2 message filters
I'm trying to figure out how to use message filters in ROS2 galactic in python. From this example https://github.com/ros2/message_filters/blob/rolling/test/test_approxsync.py I see that
...
0
votes
1
answer
127
views
Not getting any output with python message_filter ApproximateTimeSynchronizer
I am trying to project 3d bounding box detected on a point cloud data to Image. I am using message filters to subscribe to image and detection topic. when I run the node i get the debug message on ...
0
votes
0
answers
18
views
#Windows# Issue with tf2_ros::MessageFilter Tutorial on Windows
I am a beginner with ROS 2 and I was following the Using stamped datatypes with tf2_ros::MessageFilter tutorial on a Windows machine. I have encountered an issue in the 3 Run section. When I run ...
0
votes
1
answer
241
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/...
0
votes
1
answer
732
views
ROS2 callback not called with approximate time synchronizer
Any idea, why my callback is not called ?
...
0
votes
1
answer
578
views
How to add a header with timestamp to numpy_msg?
I am using the rospy with numpy tutorial to create a publisher and subscriber that send numpy arrays to listener that uses an ApproximateTimeSynchronizer. However, I receive an error when I try to ...
0
votes
0
answers
1k
views
ROS2: How to synchronize two topics with message_filters and a defined QoS
I try to synchronize two ROS2 topic using message_filter (sync_policies/approximate_time):
a sensor_msgs::msgs::Imu from an Imu
a sensor_msgs::msgs::PointCloud2 from a radar, which is published with ...
0
votes
1
answer
36
views
Template errors creating Approximate Time Synchroniser
Compiler: gcc9.4.0 Arch: Ubuntu20.04/AMD64 ROS Galactic
I'm struggling still to compile a node using an approximate time sync from two topics. I've attempted to closely follow the method used by ...
0
votes
1
answer
42
views
Compilation issues with PCL and message_filters: ; cannot bind non-const lvalue
Compiler: gcc9.4.0
Arch: Ubuntu20.04/AMD64
PCL: 1.10
ROS Galactic
I've got two errors which I believe are hindering me from compiling my code here successfully.
The first is affecting my attempt to ...
0
votes
1
answer
199
views
Where does message "Message Filter dropping message" comes from
I'm trying to debug find the root cause that generate this kind of error messages:
...
0
votes
1
answer
260
views
ROS2 message_filters Synchronizer compilation error
Hi, I am having trouble compiling my code using the message_filters Synchronizer in ROS2 Foxy.
The tests included in the library compile and run fine but the code below does not want to compile on ...
0
votes
1
answer
8
views
nh.subscribe works but message_filters::Subscriber not
I'm trying to learn the ROS topic, but I met a problem that really confused me.
Here is the origin code. It works well, I can receive the image and pass it to ...
0
votes
1
answer
30
views
[ROS2 galactic] message_filters: undefined symbol: _ZN15message_filters10ConnectionC1ERKSt8functionIFvvEE
Hi there. Recently, I'm trying to combine two string messages and use message_filters::TimeSynchronizer to synchronize the two message. I have written the minimal ...
0
votes
1
answer
22
views
ApproximateTimeSynchronizer publishes in_sync topics through the callback?
Hello everyone.
I am trying to synchronize topics with the use of message_filters and ApproximateTimeSynchronizer. I subscribe to the topics that I want to synchronize but when I examine them they don'...
0
votes
1
answer
41
views
Message filter headerless warning with custom message type
I generated my custom message as following:
uint32 num_object
nav_msgs/Odometry custom
This is a part of the output when echoing a topic using my custom message:
<...
0
votes
1
answer
10
views
Messages being dropped by IRIS Lama Node using YD Lidar Laser Scanner
Hi,
I am trying to use Iris Lama slam package with YD Lidar to create grid map. I am using following commands to run slam and lidar node ( Launch files also attached)
Lidar Launch File :
...
0
votes
1
answer
32
views
How to create topics and synchronize them when recording a bagfile
Hello everyone,
thanks for taking the time to check my post. So let me describe what I want to do.
For starters I have a bag file containing a topic which carries a directory path at each message, ...
0
votes
1
answer
7
views
message_filters in C++ not subscribing to topics when implemented in a class
Hi all,
I am having some issues with message filters, but I am not sure if I am doing something wrong or if there is a bug somewhere.
After some difficulties, I decided to implement a couple of ...
0
votes
1
answer
264
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 ...
0
votes
1
answer
120
views
What is 'slop' in ApproximateTimeSynchronizer?
I'm going through the message filters in ros noetic and came across the following class.
...
0
votes
1
answer
7
views
message_filter synchronize boolean msg
Hello I want to add a boolean msg in my synchronizer but it seems that BoolConstPtr definition in the callback function is not working. Here is my class and callback dsefiniton.
...
0
votes
2
answers
382
views
Using C++ message filters in ROS2
I am trying to subscribe to two topics. If their header stamps are equal they should be combined into a single message and published.
I believe that an exact_time message_filter is the way to go here.
...
0
votes
1
answer
23
views
Subscribe to two PointCloud2 messages using message_filters
I was trying to synchronize between two PointCloud2 messages, following these tutorials. But I was not able to compile the following piece of code:
...
0
votes
1
answer
65
views
ROS2 Message filters in a class, initializing message_filters::Subscriber object
I am trying to sync two message streams of 2 image topics. So I am using message filters.
I was using a class to do all this, however, the member initialisation doesn't work for me for message_filters:...
0
votes
1
answer
4
views
ApproximateTime not working with nodelets
Hi,
I have a nodelet that publishes a few topics and another nodelet that subscribes the topics and republishes a custom topic with all the synchronized messages.
If I start the two nodelets in two ...
0
votes
1
answer
7
views
I have an error "AttributeError: 'module' object has no attribute 'ApproximateTimeSynchronizer'" even if i already used TimeSynchronizer
System information
OS: Ubuntu 12.07
ROS version: Hydro
this the code i just create to be able to use two topics at the same time:
...
0
votes
1
answer
3
views
message_filters with PoseStamped
Hello, I want to use message_filters on different msg types aswell as my custom msgs later on..
But it does not seem to work with PoseStamped.
Marker and PointCloud2 together work.
I made sure that ...
0
votes
1
answer
41
views
0
votes
1
answer
22
views
0
votes
1
answer
5
views
How to match messages coming from several nodes to be able to cross-reference data based on timestamps?
Hello, I was wondering whether it is possible to cache two synced messages with message_filters API in Melodic?
I got two synced messages:
...
0
votes
1
answer
5
views
Access Cache Data Error
Based on the code I have written for question #Q335276,
when I try to use the Cache methods, they weren't there. I am not sure why I am getting the error message as shown below:
...
0
votes
1
answer
40
views
message_filter (Python 3) not working in ROS Melodic
System information
OS: Ubuntu 18.04
ROS version: Melodic
Conda environment: python=3.7 (Needed for a python3 processing module)
Problem explanation
I try to create a message filter that subscribes ...
0
votes
1
answer
10
views
Message_filters TimeSequencer compile error
Dear all,
I am trying to use the TimeSequencer filter of the message_filters library to introduce a delay to a certain topic. I have created a simple example following the documentation on http://wiki....
0
votes
1
answer
84
views
Error "Call to publish() on an invalid Publisher" using ApproximateTime Policy
Hi everyone, I try to use the ApproximateTime Policy-Based Synchronizer to get the force and position data from a force sensor and NDI, the code is show here which imitated from #q297174, in this code,...
0
votes
1
answer
9
views
Asynchronous message filter does not subscribe to remapped nodelet topics
I'm using a custom made package that uses nodelets for RGBD image processing. The end of the processing pipeline is a nodelet ...
0
votes
1
answer
41
views
ROS 2: Message Filters (e.g. exact time)
Potentially looking to move to ROS 2.0 for python 3 support in a new project.
Question I can't seem to find an answer too, is the feature of sync'ing messages working in ROS 2.0 yet? Is there an ...
2
votes
3
answers
89
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
...
0
votes
1
answer
11
views
How to subcribe both Image topic and Text topic in the same time?
Hi buddy,
I am newbie in ROS. And this is the first time i'm trying to subcribe 2 topics type, 1 for Image topic and 1 for Array of ints topic. And i have a problem on it.
This is my source code:
<...
0
votes
1
answer
37
views
Problem with message_filters::cache
#include "ros/ros.h"
#include "ros/message_traits.h"
#include "message_filters/subscriber.h"
#include "message_filters/cache.h"
#include "std_msgs/String.h&...
0
votes
1
answer
4
views
Where should I indeed place my "ros::spin()"?
I am a freshman for ROS, and I find a interesting (for me) thing:
I wrote a node, for example, let's call it my_node.cpp, it looks like this:
...
1
vote
1
answer
19
views
Unsubscribe a message_filters.ApproximateTimeSynchronizer
I have a subscriber setup to subscribe to three topics simultaneously (using message_filters). i want to stop this subscriber. Unfortunately, there is no mention of any "unregister" function ...
0
votes
1
answer
4
views
Huge error message from boost using time_synchronizer
This is the modified example code of the message_filters package
...
0
votes
1
answer
3
views
sensor fusion of 2 Points using message_filters
Hey there,
I would like to write a nod that does some sensor fusion. The node should subscribe 2 Topics of type geometry_msgs::Point
if the two messages have the approximate same time_stamp simple the ...
0
votes
2
answers
9
views
topic remapping in synchronised message_filters
I am trying to synchronise a compressed depth image and its camera info:
...