I am the sole programmer for an off-season project which heavily dabbles with autonomous trajectory following. I’m looking at the Path Planning page in the WPILib docs, but can’t make heads or tails of it. Could someone explain the setup in more straightforward terms or link some example code that might be useful?
The project uses swerve drive if that helps. My code can be found here.
In that page, Pathplanner only replaces the PathWeaver bullets. The rest are still relevant for swerve drive (although not directly applicable since they were written for differential drive).
You can also take a look at this post of our team’s code from this year. We used PathWeaver for our autonomous trajectory following with a swerve drive (which very much is possible.) This might help a good bit, as our programmers found some very good ways to make it work.