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

Revision history [back]

click to hide/show revision 1
initial version

I think that I have got the problem. When we are using /odom data tf works well i.e. transformation from base_link to map is simple

map -> odom -> base_link

But when we are using fake localization It gives direct transform from base_link to map. So at one time we have two transforms

map -> odom -> base_link and map -> base_link

due to these two transforms, I was getting error in tf from base_link -> map. That's why I was getting two different values.

I think that I have got the problem. When we are using /odom data tf works well i.e. transformation from base_link to map is simple

map -> odom -> base_link

But when we are using fake localization It gives direct transform from base_link to map. So at one time we have two transforms

map -> odom -> base_link and base_link

and

map -> base_link

due to these two transforms, I was getting error in tf from base_link -> map. That's why I was getting two different values.