Green Path, a front-end webapp, is used for fast, intuitive point-and-click path creation.
The app is available at https://thegreenmachine.github.io/green-path/. Using Intellij we can use the "built-in preview" functionality instead - just open index.html and click on the little intellij symbol that should pop up in the top-right corner!
$ git clone https://github.com/TheGreenMachine/green-path.git
$ npx http-server # Or any other http-server - Note: this is if you're NOT using intellij's built-in preview
To generate an auto path from a .wpilog file, click the "Instant Path" button. Proceed to input your log file, the time you wish to start from, the duration, and the sample rate (ex. sample rate of 0.5 = 2 samples/second, 0.1 = 10 samples/second).
The headings per-point are generated mathematically- tank drive robots looking for the exact recorded values should replace these headings with those found in the Swerve Headings section.
Your pose has to be logged as Drivetrain/Pose and consist of [x,y,heading] for the utility to read it correctly.
- splines-kt (https://github.com/TheGreenMachine/splines-kt)