I believe REV provides code templates for you to look at here
If you decide to go with another manufacturer (which I would recommend), either SDS or WCP, there are other options for mostly pre-generated code like YAGSL, and CTRE swerve.
I believe REV provides code templates for you to look at here
If you decide to go with another manufacturer (which I would recommend), either SDS or WCP, there are other options for mostly pre-generated code like YAGSL, and CTRE swerve.