Okay, so our team finally has pathplanner setup, along with a sendable chooser for selecting them. But we are running into a little problem.
One of the two directories that pathplanner is suppose to be saving files to is not working.
The deploy/pathplanner/autos directory is saving the .auto files
The deploy/pathplanner/paths directory stays empty to matter what I do in PathPlanner.
Also any path I make in PathPlanner disappears when i restart PathPlanner.
Everytime I deploy to our robot it crashes because it’s trying to read a file out of the deploy/pathplanner/paths directory and nothing is in there. So it’s giving me this error.
“Unhandled exception: java.lang.RuntimeException: java.io.FileNotFoundException: /home/lvuser/deploy/pathplanner/paths/PathTestOne.path (No such file or directory)”
there is a thing at the bottom of PathPlanner that says…
PathPlanner Update Available.
You have any idea how to actually update it though. Looked for a spot in the software, tried to chekc for updates in WPI through VScode, and even tried uninstalling and installing it again through the Microsoft Store.
Also I can re-name the auto to anything, and I can go look in the repository and the name was also updated. But that’s just for the “autos” directory.
You can download the newest build from the pathplanner github and install that. If your version of pathplanner doesn’t have an area in the ui to create paths then you need to update
That’s certainly weird but follows given those path files aren’t saved in your git repo so it looks like they aren’t saving
Edit: also the banner appears to be related to the vendor dep, open vscode and open the command palette, type manage vendor dependencies, check for updates online, and install the updated vendor dependency
I have had the same issue when programming PathPlanner this season, and I haven’t found a fix for it but noticed that it seems like some paths get “corrupted” and the only way to fix it is to delete the path. Maybe that’s whats happening here? I would try completely deleting PathPlanner from that project and initializing it again.
Is there a reason that this is the case? I think it’d be helpful to have a path be saved upon creation so people could have placeholders. At the very least, could a path be saved when its name is changed?
It’s done specifically to avoid a bunch of placeholders being forgotten and cluttering up the project. I feel like renaming them should save the file so if it doesn’t do that then that can be fixed.