NASA-AMMOS / aerie

A software framework for modeling spacecraft.
https://nasa-ammos.github.io/aerie-docs/
MIT License
73 stars 19 forks source link

Dynamic Activity Instance Naming via Simulation #1588

Open ewferg opened 4 weeks ago

ewferg commented 4 weeks ago

Checked for duplicates

Yes - I've already checked

Alternatives considered

Yes - and alternatives don't suffice

Related problems

It is often valuable for the name of an activity instance to highlight some attributes related to the activity that are only computed after simulation or are a function of one or more parameters. Although an activity instance name can be changed in the user interface, there is no ability to programmatically specify the name of an instance within the mission model. This has been a valuable feature of other planning tools to provide situational awareness within the timeline UI without forcing the user to individually click on activity instances to see the values of their parameters and computed attributes.

A few examples where this could immediately be valuable:

Describe the feature request

Provide an interface within the mission model to set the name of an activity instance based on attributes computed as part of simulation or based on values of activity parameters. One potential solution to this feature would be to designate a special computed attribute that is associated with the activity instance name and by default has the value of the activity type's name. Note that this solution could be extended to include other special computed attributes that give more information to the UI (e.g. instructions on how to render the activity and alter its color, size, etc.), but that specific ask is not part of the scope of this request.