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

Kobuki cannot normally perform auto-docking #372

Open
LinkMiao opened this issue Nov 1, 2016 · 1 comment
Open

Kobuki cannot normally perform auto-docking #372

LinkMiao opened this issue Nov 1, 2016 · 1 comment

Comments

@LinkMiao
Copy link

LinkMiao commented Nov 1, 2016

Kobuki can sometimes fail to perform auto-docking. Click here to check out the problem.

We provide a possible solution. Click here to check it out.

After tuning the parameters shown in the video above, kobuki could perform docking normally.
The result is shown in this video: here

Before adjusting those parameters, kobuki approaches to the dock with a high linear velocity, leaving a small space for it to adjust its heading, so that kobuki fail to align with the dock many times. Our idea is to increase the angular velocity in order to make kobuki rectify its heading agilely, meanwhile we decrease its linear velocity so that kobuki can get an ample space to align with the dock.

Kevin H.C. Zhao
[email protected]
Shenzhen LinkMiao Robotics Co., Ltd.

@beduffy
Copy link

beduffy commented Apr 23, 2021

I was also having a lot of problems with kobuki auto-docking, I was writing a lot of stupid code for things like (pseudo-code):
if tried_docking_for_too_long or bumped too many times or aligned_near too many times: try again.

I tried the solution you mentioned of changing the values in your 2nd youtube video. Image below shows this more clearly.
image

It seems to be working better now but doing more testing. Thanks for your fix

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