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

TF doesn't work even though it's in the tf_tree

asked 2017-10-16 04:28:13 -0600

Jan gravatar image

updated 2017-10-16 09:12:43 -0600

Hi,

I need a tf between world and map.

This is my starting situation (world and map are not connected): image description

Now I establish a simple static transform:
image description

The two tf_trees are now connected:
image description

BUT somehow there is still no connection between /world /base_footprint: image description

Rviz is complaining about a missing tf as well.

How can I fix this?
Any hints for further investigation?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-10-16 12:10:41 -0600

tfoote gravatar image

Your transforms have timestamps that are offset by on the order of 400 seconds which means that there's no valid time to query across the spanning set that you're looking for.

Unrelated, but best practice is to have a tree, not keep inserting parents above map or world.

edit flag offensive delete link more

Comments

Wow, you are right haven't noticed! I don't want to mess with trasnforms below map. Therefore I somehow need to push the world/map transform in the past. Do you know how to do that?

Jan gravatar image Jan  ( 2017-10-16 12:27:19 -0600 )edit
1

You should make sure that all the computers in your system have synchronized clocks. https://answers.ros.org/question/1157...

tfoote gravatar image tfoote  ( 2017-10-16 12:30:04 -0600 )edit
1

Since this answers your question please accept it. And if you have more followup questions please ask them separately with specific information on how to reproduce them etc.

tfoote gravatar image tfoote  ( 2017-10-16 12:30:54 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-10-16 04:28:13 -0600

Seen: 597 times

Last updated: Oct 16 '17