Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does tf::MessageFilter exist for rospy? #166

Open
jwhendy opened this issue Jun 2, 2018 · 2 comments
Open

Does tf::MessageFilter exist for rospy? #166

jwhendy opened this issue Jun 2, 2018 · 2 comments

Comments

@jwhendy
Copy link

jwhendy commented Jun 2, 2018

Greetings,

I'm learning ROS with a colleague who's more experienced and as a way to learn quickly, I'm translating some of his code into python. This is also a way to see if there are any deficiencies of python overall for ROS development (he's advocating I learn C++, and I'd hope to stick with a language I already know).

I came across his use of tf::MessageFilter and wondered what the official stance is on using it via rospy. I saw this on the C++ api page:

The tf::MessageFilter is the recommended method for receiving almost any sensor data from ROS.

I also found this question from 2012 suggesting it might not exist for python. It's 6yrs later, so I thought I might just ask at the source.

The quote from the C++ api implies it's pretty important. If it doesn't exist for rospy, is there a desire to have it implemented? Or is the official recommendation to use something like the answer at that question (i.e. roll one's own python implementation)? I would be happy to try contributing, either to code porting or putting a DIY example somewhere on the wiki for reference for other python users.

@tfoote
Copy link
Member

tfoote commented Jun 4, 2018

A contribution of a python implementation would be appreciated. In general synchronizing in python is easier and it's ususally used in less pipelineing and latency critical areas so it's been in less demand.

The best place for an implementation to be contributed would be in tf2_ros

@Elio-in-summer
Copy link

A contribution of a python implementation would be appreciated. In general synchronizing in python is easier and it's ususally used in less pipelineing and latency critical areas so it's been in less demand.

The best place for an implementation to be contributed would be in tf2_ros

Hi, I'm also wondering the same question, so how can I do synchronizing in python bwteen tf msg and subscriber msg, is there any Doc or tutorial?
Thank you

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

No branches or pull requests

3 participants