I have been trying to implement Pathplanner for autonomous routines on our tank drive using the AutoBuilder in Java. After setting up the AutoBuilder, I used
To get a command to follow the path from the path file. When I deployed the code to the rio, I got a FileNotFoundException, so I added a try/catch block and kept catching the error. Any ideas on why the code can’t find the path files? Here is my files in vscode:
Has the error message changed (and could you give us the error message)? .pathplanner/ is supposed to be inside deploy/, which would throw an error, but it’s harder to tell without a stacktrace.
It looks like you selected the src/main directory when you opened the project in pathplanner. You should open the root directory of the project. So, the 2024Crescendo_RexV2 folder.
In that image it looks like the right spot at least, but in your repo the files are still in deploy/deploy/pathplanner