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

Weird lateral ramp logger plot? #4

Open
ruiyuansd opened this issue May 21, 2024 · 3 comments
Open

Weird lateral ramp logger plot? #4

ruiyuansd opened this issue May 21, 2024 · 3 comments

Comments

@ruiyuansd
Copy link

lateral-ramp-logger-this-is-supposed-to-be-mostly-linear-v0-dlu36b3q6gzc1

Robot Setup: Mecanum Drive with Three Deadwheeel Localizer
Beacuse of the difference between (kS_forward, kV_forward) and (kS_lateral, kV_lateral), the ramp logger regression plot is not ideal. Any suggestion on that?

@rbrott
Copy link
Member

rbrott commented May 21, 2024

This plot exposes a limitation of the robot model. The additional friction dynamics when strafing cannot be captured by a single multiplier but require an additional offset at least. On the bright side, this was just as broken in previous versions of Road Runner, and feedback can make up some of the difference.

@pn89348
Copy link

pn89348 commented Jan 2, 2025

In this case, is it better to use the regression line similar to what's shown in the screenshot or to exclude the flat portion at the beginning?

@rbrott
Copy link
Member

rbrott commented Jan 2, 2025

Theoretically you should remove the flat portion, though I don't expect it to make a big difference in the overall fit because the line must still pass through the origin.

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

3 participants