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 issues #12

Closed
eithwa opened this issue Nov 15, 2022 · 11 comments
Closed

localization issues #12

eithwa opened this issue Nov 15, 2022 · 11 comments

Comments

@eithwa
Copy link

eithwa commented Nov 15, 2022

hi,
In my test, the robot tf will move to the wrong place, and the reliability value has been maintained at 99.99%, what parameters should I change?
thanks
video:
test video
bagfile and map :
https://drive.google.com/drive/folders/1Fd11c5NSgx-NSjXd_ZWah2CLNwzLm-2k?usp=share_link

<node pkg="tf" type="static_transform_publisher" name="base_link_2_laser" args="0.06 0 0 0 0 0 /base_link /laser 100"/>
@Nikhil619
Copy link

Hey did you solve it??

@Nikhil619
Copy link

Please post your launch file

@eithwa
Copy link
Author

eithwa commented Feb 25, 2023

Please post your launch file

Thank you for your reply
I still haven't solved the problem
Here is the link to the launch file that I missed
https://drive.google.com/file/d/182XzIdMi3RTf0RPdy4MBUMd0D3Ob8Rcc/view?usp=share_link

@Nikhil619
Copy link

Nikhil619 commented Feb 26, 2023

Screenshot_2023-02-27-01-30-49-57_e2d5b3f32b79de1d45acd1fad96fbb0f.jpg

Hey, I don't think this is a launch file. This is what your launch file shows

@eithwa
Copy link
Author

eithwa commented Feb 27, 2023

Sorry, I uploaded it to gist
https://gist.github.com/eithwa/4d3dcf0feb734751d5fcaa196e40f176

@Nikhil619
Copy link

Nikhil619 commented Mar 13, 2023

Hey, sorry for this late reply. Did you set global_pose_sampler to True or False?

@eithwa
Copy link
Author

eithwa commented Mar 14, 2023

Hello
I set "use_gl_pose_sampler" and "use_mrf_failure_detector" parameters to true

@Nikhil619
Copy link

    <arg name="matching_rate_th" default="0.03" />

Setting use_global_pose_sampler to false could solve this. But if you want the global_pose_sampler to be there then try adjusting the above mentioned parameter. In the video it's clear that the algorithm tried to match the scan with another similar part of the map. So adjusting this parameter could help

@eithwa
Copy link
Author

eithwa commented Mar 16, 2023

Setting use_global_pose_sampler to false could solve this. But if you want the global_pose_sampler to be there then try adjusting the above mentioned parameter. In the video it's clear that the algorithm tried to match the scan with another similar part of the map. So adjusting this parameter could help

Thank you for your reply
I will try to edit the parameters you mentioned

@Nikhil619
Copy link

Nikhil619 commented Mar 24, 2023

Did you try?
If it's working fine without global localisation please close the issue.

@eithwa
Copy link
Author

eithwa commented Mar 28, 2023

Did you try? If it's working fine without global localisation please close the issue.

Sorry for the late reply
Now it works normally after turning off the global localization
thank you
close issue

@eithwa eithwa closed this as completed Mar 28, 2023
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

2 participants