ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

how can I modify the value of a transform when playing back a bag file?

asked 2011-06-03 15:12:41 -0600

phil0stine gravatar image

updated 2011-06-06 12:53:00 -0600

tfoote gravatar image

Just like there are message filters, would it be possible to make tf filters?

I often find I want to modify the value of a single node in the tf tree when I have a bagfile, or to eliminate broadcasts on tf altogether.

It also could be useful to associate/utilize multiple tf's together, even when broadcast at different rates. Like ApproximateTime can do with messages

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2011-06-06 12:51:55 -0600

tfoote gravatar image

updated 2011-06-06 12:52:05 -0600

There's a tool called tf_remap which does approximately what you want. You can use the mappings to rename the unwanted frames and then republish them using another process.

edit flag offensive delete link more
1

answered 2011-06-03 23:26:57 -0600

dornhege gravatar image

I'm not sure how the subject relates to the text, but I think you are not looking for a tf::MessageFilter, or are you?

For eliminating /tf you might be able to remap the /tf topic to some other topic.

edit flag offensive delete link more

Comments

Thanks for the link. Not exactly what I was thinking of, but its certainly a useful feature. Instead of remapping all of /tf, I wonder if I could remap only one transform on the /tf tree. Mostly, I want to match transforms based on their broadcast stamps
phil0stine gravatar image phil0stine  ( 2011-06-04 15:22:35 -0600 )edit
My guess is you can't remap certain parts of the tf tree to something else, but someone might have a solution. Matching transforms based on the stamps should be done by the tf library automatically.
dornhege gravatar image dornhege  ( 2011-06-05 01:19:58 -0600 )edit

Question Tools

Stats

Asked: 2011-06-03 15:12:41 -0600

Seen: 787 times

Last updated: Jun 06 '11