Importing pathfinder waypoints created in PathWeaver into Java

Hi,

My team has been playing around with PathWeaver and Jaci’s Pathfinder and we were wondering how we could use the built paths from PathWeaver in our robot code. I found this link which shows exactly how to use PathWeaver except it’s missing the part where it shows how to use it in your project.

I was thinking of somehow calling the exported path files in code however there are three separate files for one path.

We currently have the basic template.

Any ideas are much appreciated,
Alex
Cadet Robotics 7886

There is a Pathfinder.readFromCSV(File) method which you probably want to use.

1 Like

This seems like what we need. Does Jaci’s Pathfinder have a javadocs that I could read over?