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

Map to base_link? #5

Open
abylikhsanov opened this issue Feb 7, 2019 · 5 comments
Open

Map to base_link? #5

abylikhsanov opened this issue Feb 7, 2019 · 5 comments

Comments

@abylikhsanov
Copy link

The code in python gives a TF from Map to Base_link. Shouldn't it be map to odom?

@mboulet
Copy link

mboulet commented Feb 18, 2019

Perhaps setting the frame_id values via node parameters would provide flexibility to work with any TF tree design.

@abylikhsanov
Copy link
Author

Nope, there is a difference between base_link->map and map->odom TF. You can't simply change the frame_id to odom

@abhilash-nandkumar
Copy link

@abylikhsanov were you able to work around this issue? I have a similar problem

@matkok
Copy link

matkok commented Apr 18, 2019

it would be great to have this package use same standard as amcl (navigation), such as map->odom tranformation

@simonrozsival
Copy link

I ran into this problem as well. In the end I commented out https://github.com/mit-racecar/particle_filter/blob/master/src/particle_filter.py#L173 and implemented the map -> odom transform myself based on the data it publishes in /pf/pose/odom like this: https://github.com/simonrozsival/racer/blob/master/racer-jetson/catkin_ws/src/particle_filter_tf_correction/nodes/fix_tf.py. It's far from elegant, but it works for me.

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

5 participants