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

Issue with one module running at slower speed #53

Closed
Gary-Delancy opened this issue Feb 9, 2024 · 2 comments
Closed

Issue with one module running at slower speed #53

Gary-Delancy opened this issue Feb 9, 2024 · 2 comments

Comments

@Gary-Delancy
Copy link

I'm hoping someone can help us.

We have a brand new setup. MK4is, KrakenX60, cancoders, and a NavX.

We have it all wired up and coded with this base code, configured for our can ids, our dimensions, etc.

When we drive, 3 modules behave as we would expect, but one of the drive motors runs at a much slower pace (less than half the speed, if that).

We have swapped hardware (we have another 4 mk4is for our other chassis), power wires, can wires, and even assigned the can ids to a different module to eliminate hardware. The problem is always with the module assigned to #2 (back left). The problem must be in our code or configuration.

Any suggestions on how else to debug this?

@ritchiedc
Copy link

ritchiedc commented Feb 9, 2024

Have you adjusted kp? Look at issue #48.

Edit: the above is unlikely but... Also, try swapping turning motor and drive motor power. And could it be possible you swapped drive and turning motor ids?

@Gary-Delancy
Copy link
Author

Yeah, we have tried different values there, and any other place that looked appropriate for our setup. Nothing seemed to make any difference.

We purposely swapped our drive/agle ids to make sure they were assigned properly, and the module slowly rotated while the other modules rolled along, lol.

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