We are trying to limit the joystick acceleration but we keep getting errors

Here is a link to our team’s code
https://github.com/kristo898/Team-4549-2023

That github repo contains 2 copies of code. Please make sure you’re using github consistently across your team.

That said, can you provide some direction on what you tried to do and where?

As some background, joysticks don’t have a concept of acceleration. They simply return values that you use in code.

I would look at this documentation Slew Rate Limiter — FIRST Robotics Competition documentation

We have updated our GitHub

I’m not seeing where in your code you’re doing anything with the joystick values besides sending them to the drive motors. Can you point to where the code is you’re having trouble with?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.