Yagsl problems

we are trying to update yagsl to the latest version and we get this weird movements

the swerve had worked with the last version and we are running the latest version of the example code with our json from the beta and changing the default command to driveFieldOrientedAngularVelocity other than that it is just the example code with no change

I don’t think its a pid problem as the pid had worked for us before and also in AScope the movement look like the module is doing full and half rotations and irl it is not what is happening

Are you in shop rn? We can chat on the discord for an hour if you want to try to fix this

yes

that would be greate i will join the yagsl dis

1 Like

Glad we fixed the issue! I wonder if the absolute encoder direction changed between the beta and now.

1 Like

The problem was that my student accidently put an old version of the json :face_with_peeking_eye:

Hey

I am a mentor for a rookie team in Brazil. We started using YAGSL last year for an off-season but time was short and our code wasn’t very good.
After that we started programming more to achieve better but we weren’t able to make much progress.

I put the joystick forward to start moving the robot but it rotates with it.

We are still using the 2024 version to improve our Swerve but we are not succeeding. Can anyone help me?

https://drive.google.com/file/d/1M7BUfe5UqPBqkOnEpuK2zQL1GoNmtiqn/view?usp=sharing