mjansen4857 / pathplanner

A simple yet powerful path planning tool for FRC robots
https://pathplanner.dev
MIT License
399 stars 127 forks source link

Support branching autos from the UI #721

Open lidor51 opened 2 months ago

lidor51 commented 2 months ago

Defining autonomous as a prioritized decision tree, each node can be either a path or a decision tree of its own. Doing this from the UI would allow user-friendly way to define complex autos.

image

Each branch would have a condition, conditions would be checked from left to right (this is why it's a "prioritized" decision tree). We would like to make the paths (\w their conditions?) draggable. Conditions should be reusable for a user-friendly experience. If neither of the conditions are met, the auto finished.

lidor51 commented 2 months ago

I suggest a vertical scrolling in this window, and scrolling/right-left buttons horizontally. Alongside keyboards arrows navigation in the tree.

mjansen4857 commented 1 month ago

I think this would be useful, but this is a very large and time-consuming feature to implement. So, I'm not currently targeting it for 2025 unless all remaining tasks for 2025 are done with enough time left to properly implement it before the end of beta.

lidor51 commented 1 month ago

Indeed a big feature, I suggest to keep it open to a future iteration.