Are you running a bare chassis or a full robot? Robot mass will have an effect. We haven’t worked on that yet.
Couple of basic checks -
Does your gyro show a + reading when the robot turns counter clockwise (left)? Our code uses a navX which needs negated.
With the robot on blocks do the wheel drive encoders show a value equal to the wheel circumference when they are turned 1 rev? Are you using the L1 gear ratio?
At the moment we’re just running a chassis. The gyro does show a positive reading when the robot turns counterclockwise. The drive motors all show correct values when I display individual readings from each of the modules, but together the coordinate values are completely wrong and will display millions of meters for each meter of actual movement.
Our team has not ever experimented with simulations.
We’re still working on our code, but in the meantime one of our students made these. It’s been through a few revisions and might go through one more, still debating it. Anyways we plan on posting the file for these without our team number embossed on it. Also we are planning on mounting the aluminum guard on top of it but we need slightly longer bolts.
The red circled area now has the spacer stand offs built in. The green circled area is what we might change to have the side shield come all the way around but have notched out slots for the wires to come out. On the second pic the green arrow is pointing to a lip that actually sits on top of the motor mounting plate and supports the cover from being smashed down.
Let me know if this works. I’m going to try and post both versions with and without our team number embossed, not sure which file is which. Student that did this said he will try to get another version of these done with the extended wrap around area. I’ll post those when they are done. https://grabcad.com/library/swerve-drive-specialties-mk4i-cover-1