How do you set up a path generation in teleop with Pathplanner
Same way as you would in auto, just tie the command to a button and make sure the driver has a stop button that isn’t the estop. Home · mjansen4857/pathplanner Wiki · GitHub
I how do you do on the fly generation?
We just released 3061-lib with this season’s code, which includes a MoveToPose command and associated classes that generate paths on the fly. The path generation was triggered on a button press. The field was modeled as a collection of regions with transition points defined from a region to each of its neighbors. The path was generated to pass through these points between the starting and ending points.
The MoveToPose command class is a good place to start with more details in the Field2d and Region2d classes.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.