You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Procedural Scheduling has been released, we are working on implementing Procedural Constraints. The workflow for using them will be very similar to scheduling goals: write a constraint in Java, compile a JAR, upload it via the Aerie UI, and add it to a plan using the same list UI that is used for eDSL constraints. Whereas procedural scheduling goals create activities on an editable plan, procedural constraints will return violations, ie. windows of time when the constraint is violated, and will not be able to edit the plan directly.
Procedural Scheduling goals use an annotation processor to look for classes with the annotation @SchedulingProcedure and process them with ValueMappers to generate the final goal/procedure code. It's located here:
Background
Now that Procedural Scheduling has been released, we are working on implementing Procedural Constraints. The workflow for using them will be very similar to scheduling goals: write a constraint in Java, compile a JAR, upload it via the Aerie UI, and add it to a plan using the same list UI that is used for eDSL constraints. Whereas procedural scheduling goals create activities on an editable plan, procedural constraints will return violations, ie. windows of time when the constraint is violated, and will not be able to edit the plan directly.
Procedural Scheduling goals use an annotation processor to look for classes with the annotation
@SchedulingProcedure
and process them withValueMappers
to generate the final goal/procedure code. It's located here:procedural/processor/src/main/java/gov/nasa/ammos/aerie/procedural/processor/SchedulingProcedureProcessor.java
Requirements
@SchedulingConstraint
or@ProceduralConstraint
?@SchedulingProcedure
annotation, but might be confusingRelated Issues
#1572, NASA-AMMOS/aerie-ui#1478
The text was updated successfully, but these errors were encountered: