-
Notifications
You must be signed in to change notification settings - Fork 48
ogma-core: Expand Copilot templates to allow for extra definitions #368
Description
Description
The current Copilot templates do not allow for additional definitions to be included in a Copilot file. For example, if a new stream function or combinator is needed in a property, the current template cannot be used. This limits the applicability of Ogma, and places a burden on the user to copy (and maintain) their own version of the Copilot template. The problem is further exacerbated when the Copilot spec is used in combination with cFS, ROS or FPrime.
To facilitate using Ogma, we should allow for the Copilot spec to be easily extended.
Type
- Feature: Allow for the Copilot spec to be extended with new definitions.
Additional context
None.
Requester
- Ivan Perez.
Method to check presence of bug
Not applicable (not a bug).
Expected result
The Copilot specs allow for the expansion of new imports and definitions using additional variables.
Desired result
The Copilot specs allow for the expansion of new imports and definitions using additional variables.
Proposed solution
Modify all Copilot specs in the templates to include the value of an optional extra variable.
Further notes
None.