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 -0500

phil0stine gravatar image

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

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 -0500

tfoote gravatar image

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

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 -0500

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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 376 times

Last updated: Jun 06 '11