How to put a path planner path in code?

I want to make a sequential command that moves our arm and then follows a path that I’ve made in path planner. We have working paths and everything I’m just unsure how I’d use them in a sequential command. Any help is appreciated.

You can use event markers.

Could you give me some explanation of how to use them?

The docs are your best friend. I would recommend using AutoBuilder.

Okay thank you

1 Like

I second using the AutoBuilder. With that you should be able add events to the eventMap with eventMap.put(<Name of event marker placed in PathPlanner>, <Command you wish to run>; Then the auto builder should handle everything else.