applepi-2067 / 2023_Robot

Code for 2067's 2023 Robot
Other
6 stars 0 forks source link

add empirically measured ff #143

Closed amoscao closed 1 year ago

amoscao commented 1 year ago

Description

Fixes motor encoder odometry error by adding an empirically measured correction (fudge factor). Validated on robot that encoder accuracy is within 2cm error over a 6m distance.

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration. Identify any new potential hazards or risks introduced.

Author Checklist:

jcorcoran commented 1 year ago

That's kind of a big fudge factor.... >10% off...

You sure the wheel diameter & gear ratios are correct?

amoscao commented 1 year ago

Am not sure because the error is quite large, but we checked the wheels and the gear ratio is theoretically correct. It’s accurate now though

On Wed, Mar 22, 2023 at 8:35 PM James @.***> wrote:

That's kind of a big fudge factor.... >10% off...

You sure the wheel diameter & gear ratios are correct?

— Reply to this email directly, view it on GitHub https://github.com/applepi-2067/2023_Robot/pull/143#issuecomment-1480425595, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSVWRZNHAEU6FYRKJVN2D3W5OLDRANCNFSM6AAAAAAWEOFWXU . You are receiving this because you modified the open/close state.Message ID: @.***>

-- Amos Cao, Ph.D. Functional MRI Laboratory Department of Biomedical Engineering University of Michigan

jcorcoran commented 1 year ago

doesn't smell right

amoscao commented 1 year ago

I agree but it’s a tech debt I think we need to incur before the comp this weekend. This encoding discrepancy isn’t new, it was just never fixed because it wasn’t affecting anything.

On Wed, Mar 22, 2023 at 10:06 PM James @.***> wrote:

doesn't smell right

— Reply to this email directly, view it on GitHub https://github.com/applepi-2067/2023_Robot/pull/143#issuecomment-1480480228, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSVWR4AIWNSNZO5BBCREXLW5OVYPANCNFSM6AAAAAAWEOFWXU . You are receiving this because you modified the open/close state.Message ID: @.***>

-- Amos Cao, Ph.D. Functional MRI Laboratory Department of Biomedical Engineering University of Michigan