Hi everyone! We’ve been programming our sds mk3 swerve modules (using Neo motors) with YAGSL and have recently come into some issues. At first, we were able to tune our angle offsets and PID values so that we could use the left joystick of our Xbox controller to move the robot forwards, backwards, left, right, and for strafing/turning. However, when we started tuning our PID values for our anglejoystick headband and finally got the robot to be able to rotate using the right joystick, the robot does not stop rotating when we stop using the right joystick, and our robot rotates when we move our left joystick when we do not want it to, leading to very uncontrollable movements. Attached is a video to better see the movements of our swerve base. Here is a link to our main folder with our robot code, if anyone could help us out with these issues or could point us in the right direction we would greatly appreciate it, thanks:
Videos: