PathPlanner

PathPlanner is a tool that we use to make the trajectories the robot follows during auto

Documentation: https://pathplanner.dev/home.html

  1. Open PathPlanner

  2. Select your robot code folder as the project, this tell PathPlanner you are making paths for this project and it will put it in the right spot for that project

  3. Design your routine in a single path file for brainstorming purposes

  4. Segment it accosting to the following section

  5. Create the auto class

Autonomous

Segmenting

In order to sequence auto actions the auto needs to be segmented at every landmark point, for example the intake location

Best Practices for Segmenting

  • Segments should be named memorably and clearly

  • Segments should be reused

  • Segments should be made up of linked start and end points (ex: Source, Scoring Location A, Preplaced piece A)

  • Segments should be organized in folders

  • Segments should be optimized for time

  • Segments should use appropriate acceleration and velocity constraints

Open the 2025Code repo in PathPlanner to see how we create the trajectories, notice how every point is linked, you edit the end point of a segment the next starting point get automattically updated

Once you have your path segments it will be useful for visualization if you use pathplanner's auto section to sequence them (this will not be referenced in code)

Last updated