Implementation of PathWeaver into Autonomous Code (Java)

Hello, I am a relatively new programmer, and with the recent outbreak of COVID-19, I have been trying to figure out the PathWeaver tool in WPILib. I have already put the Infinite Recharge field into the drop-down, and created my first path. The only issue I have is that I currently am clueless on how to implement the path into my original code.
Thank you,
4610 BearTecs

Hello, I think what you’re looking to do is convert a pathweaver json path into a WPILib trajectory, then use a trajectory follower on that trajectory. Here are two useful pages in the WPILib documentation I think will help. I can try to answer questions if you need additional help.
https://docs.wpilib.org/en/latest/docs/software/wpilib-tools/pathweaver/integrating-robot-program.html
https://docs.wpilib.org/en/latest/docs/software/examples-tutorials/trajectory-tutorial/index.html#trajectory-tutorial

Thank you very much, I am currently looking into this, and will be trying to implement the path. Thanks once more.