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

More aggressive external force correction #101

Open
MoffKalast opened this issue Nov 2, 2021 · 2 comments
Open

More aggressive external force correction #101

MoffKalast opened this issue Nov 2, 2021 · 2 comments

Comments

@MoffKalast
Copy link
Contributor

MoffKalast commented Nov 2, 2021

In the stock configuration it seems that the robot doesn't quite correct its drift quickly enough if the goal is a close distance (<2m or so) away. There is probably a curve somewhere or a set of PIDs that determine how much the robot steers towards the right location if it finds itself off course.

That part seems to need some boost when the calculated offset isn't a large value as it doesn't get corrected enough in the mentioned case.

@dorkamotorka
Copy link
Contributor

Can we get a video of that? How much was the robot moved of coarse? Was it done intentially for testing purposes or can mentioned external force actually happens more often that not in the clients scenario?

Yes, the PID configuration is rather soft(by default a bit slower corrections) and can be retuned but there is no "best" general parameters, since the PIDs also highly affect the driving perfomance with the payload etc.
we could potentially try something like PIDV, otherwise I think we should strive to have some kind of auto tuner or tune the PIDs according to client needs.

@MoffKalast
Copy link
Contributor Author

MoffKalast commented Nov 4, 2021

Well I've been shown some live demos via zoom, but I don't have any recordings to show (I suppose you could check the short clips I've posted in the ezmap channel on RC which somewhat demonstrate it). It's a thing that's either caused by lidar jumps or the hardwood floor they're using I would guess.

There are several other factors like the initial angle being slightly off despite almost zero tolerance, but the main one is the robot moving sideways on the map while driving due to very minor lidar rotational misalignment. So in effect you get lidar jumps that don't get corrected fast enough.

I've attempted to increase the lateral pids, which seems to somewhat improve the situation, but it's hard to actually get the desired behaviour. It's not gonna be an issue with gen 6 as it's a driver level auto tuner by design but we're stuck with this for the time being I guess.

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