-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
PathPlannerLibChanges to PathPlannerLibChanges to PathPlannerLibenhancementNew feature or requestNew feature or request
Milestone
Description
Add the ability to create triggers directly tied to a PathPlannerAuto. Each auto should have its own event loop for polling these triggers. A few of these triggers would require some more logic to get the information required. This should also include the ability to make a pathplanner auto from an arbitrary command, allowing use of these triggers for command compositions not made with AutoBuilder.
Trigger options should include:
- PathPlannerAuto is running
- PathPlannerAuto is not running
- PathPlannerAuto finished normally
- One shot at timestamp
- Timestamp range
- Event name (would allow doing EventTriggers on a per-auto basis instead of a global EventTrigger)
- Point towards zone name (would allow doing PointTowardsZoneTriggers on a per-auto basis instead of a global PointTowardsZoneTrigger)
- Current path name
- Within distance of position
- Within field area
- Custom condition (normal trigger that will run on the auto's event loop, preventing it from being polled if the auto is not running)
Metadata
Metadata
Assignees
Labels
PathPlannerLibChanges to PathPlannerLibChanges to PathPlannerLibenhancementNew feature or requestNew feature or request