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

specifying the lidar frame id #25

Open
space192 opened this issue Jun 20, 2023 · 1 comment
Open

specifying the lidar frame id #25

space192 opened this issue Jun 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@space192
Copy link

Is it possible to set the frame id of the lidar in the parameters.yaml file ?

@rsasaki0109
Copy link
Owner

rsasaki0109 commented Jun 20, 2023

The following frame IDs can be set, but there is no transformation from the scan's lidar frame to the base_link.
https://github.com/rsasaki0109/pcl_localization_ros2/blob/main/src/pcl_localization_component.cpp#L9-L11
This means that the base_link and the lidar frame must match, or the conversion must be done at a different node beforehand.

If needed, for example, you might have to implement it referring to the following:
https://github.com/autowarefoundation/autoware.universe/blob/main/localization/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp#L492-L506C1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants