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

localization ekf zeros pose #17

Open
jphaneuf opened this issue Nov 26, 2017 · 0 comments
Open

localization ekf zeros pose #17

jphaneuf opened this issue Nov 26, 2017 · 0 comments

Comments

@jphaneuf
Copy link
Collaborator

Discovered pose info from EKF close to zero.

In robot_localization/src/ros_filter.cpp , function preparePose takes a pose msg and does some transforms based on target and header frames.
It is doing a transform that is not useful to us, resulting in zeros.

Starting at line 2466 is the logic to determine what frame to use (we fall in to the else statement, 'use target frame')

There is a probably an elegant way to fix this. but if you delete that logic or add a line afterwards:
poseTmp.stamp_ = msg->header.stamp;

Then that appears to work, pending testing.

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

1 participant