Hello everyone.
I have been trying to load and read the paths that Pathweaver leaves in my robot’s code, and just a day ago it worked perfectly printing the message that said that on the screen, however, today when I was modifying my code it started printing on the screen that was inaccessible without being able to solve it.
This has happened to me before, the only way I found to fix it was to write new code, but now that it has happened again, I would like to fix this once and for all and check what I am doing wrong.
Is this all paths or just b.wpilib.json? Try creating a simple path and loading that. Your program is failing in native fromPathweaverJson(String) → double[], so it is hard to find the exact cause.
This is the issue you are running into. You can fix this path by replacing the “null” curvature. Alternatively you can just not use 0,0 tangents. I will try to fix this next release.