Wheel alignment question #119
-
Hi team - question… we are reworking our conversion factor and have already double checked our wheel locations already… but we are seeing this behaviour from yagsl for neo/mk4i. (We started with a good known config). What is causing the front wheels to angle in and the back wheels to angle out for all directions? We’ll run with any pointers you can give! :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Great video! Looking at it I can clearly see your conversion factor is off or possibly your cancoders are not configured for the right modules. YAGSL is commanding it to go the correct directions (as noted by the red lines). For the conversion factor i just made some more documentation for that here https://yagsl.gitbook.io/yagsl/fundamentals/swerve-modules#conversion-factor Just so you are aware, use |
Beta Was this translation helpful? Give feedback.
Great video!
Looking at it I can clearly see your conversion factor is off or possibly your cancoders are not configured for the right modules. YAGSL is commanding it to go the correct directions (as noted by the red lines).
For the conversion factor i just made some more documentation for that here https://yagsl.gitbook.io/yagsl/fundamentals/swerve-modules#conversion-factor
Just so you are aware, use
1
as theencoderPulsePerRevolution
imSwerveMath
functions calculating the conversion factors. TalonFX's were updated in 2024 for this to be possible, however if you are using a TalonFX steer/azimuth/angle motor wuth the2023
YAGSL you need to use2048
for theencoderPulsePerRevolutoon