Hello!
We recently decided to move from differential movement to mecanum movement. Our old differential drive code works perfectly fine with the robot. The new code with mecanum drive code causes extreme jittering and motor spasms while moving the joystick in reverse or left direction. The motors move fine while moving the joystick upwards or to the right. Everything is up to date. It’s probably a coding issue but we don’t know what the issue is.
My team tried mecanum once for the competitive season. I’ll try not to be harsh about that robot. Make sure you have the best, new batteries that money can buy. Be sure not to abandon your tried and true old drive for competitions. For your mecanum experimentation make sure the angled wheels are aligned correctly.
Also, you don’t mention whether you’re using 2022 or 2023, which makes a difference, because they changed the WPILIB co-ordinate conventions to make everything consistent.
Hello! I just fixed the argument order, thanks for pointing that out. We were using the 2022 version but just updated the WPILIB to 2023, but when deploying the code we get an error saying that our robot rio image is out of date. We just did a fresh install of FRC game tools but still get the error. We have searched for the compatible version but we can’t find anything.
Thanks for the feedback!
We are using the beta program 2023. After doing the fresh install of FRC game tools we did reimage the RIO but still got the error. Maybe we used the 2022 version of the FRC game tools, but I can’t find the install for the 2023 version.