We (Team#9487), are trying to configure our MK4I swerve wheels, however, when we try to make the wheels go in a straight line, they all move in random directions. We tried inverting the motors in the programming and even correcting the PID, but the PID only served to reduce the noise of the friction between the gears (For those interested, we program in Java). Of the four modules, one is without the cancoder, but the motors are all connected to the sparkmax, so it should work regardless, right? And in any case, if the cancoder is a problem, at least the wheels with the cancoder should work in theory. We welcome all kinds of help.
Nós (Equipe#9487), estamos tentando configurar nossas rodas swerve MK4I, contudo, quando tentamos fazer as rodas andarem em linha reta, todas elas fazem o movimento de translação em direções aleatórias. Tentamos inverter os motores na programação e até mesmo corrigir o PID, contudo o PID só serviu para diminuir o barulho dos atritos entre as engrenagens (Para os interessados, nós programamos em Java). Dos quatro módulos, um está sem o cancoder, contudo os motores estão todos ligados aos sparkmax, ou seja, deveria funcionar independente disso, certo? E de qualquer modo, caso o cancoder possa prejudicar, pelo menos as rodas com cancoder deveriam funcionar em tese. Aceitamos todos os tipos de ajuda.