So we’re using Swerve for the first time this year, and we’re using Rev’s MAXSwerve modules. We typically have used a Command-based file structure, but the template code doesn’t use that.
Is it worth trying to convert the code into a Command-based structure, and if so, how would one go about doing that?
We are also using REV MAXSwerve modules, with a command based project. Our code is open source, feel free to use it as a resource. We have developed a custom hardware wrapper library called PurpleLib that also implements AdvantageKit (the logging framework) and MAXSwerve module support.
That’s what I was thinking too. We also used the MaxSwerve Java Template from REV which is command based.
The only confusion is that there isn’t a commands folder by default and the way it was setup no “commands” were needed as it’s just bindings in the robot container file.
Also all command based projects are still “timed robot” when you look at the robot file