Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ogma-core: Adjust handler names in ROS, FPrime app generators to match Copilot backend. Refs #130. #132

Merged
merged 2 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ogma-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Revision history for ogma-core

## [1.X.Y] - 2024-03-13
## [1.X.Y] - 2024-03-14

* Fix missing stream name substitution (#120).
* Use generalized JSON parser for DB Spec (#122).
* Fix translation of equivalence boolean operator from SMV (#126).
* Sanitize handler names (#127).
* Use same handler name in FPrime/ROS and Copilot (#130).

## [1.2.0] - 2024-01-21

Expand Down
2 changes: 1 addition & 1 deletion ogma-core/src/Command/FPrimeApp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ fretCSExtractHandlers (Just cs) = map handlerNameF
$ map requirementName
$ requirements cs
where
handlerNameF = ("handlerprop" ++) . sanitizeUCIdentifier
handlerNameF = ("handler" ++) . sanitizeUCIdentifier

-- | Return the variable information needed to generate declarations
-- and subscriptions for a given variable name and variable database.
Expand Down
2 changes: 1 addition & 1 deletion ogma-core/src/Command/ROSApp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ fretCSExtractHandlers (Just cs) = map handlerNameF
$ map requirementName
$ requirements cs
where
handlerNameF = ("handlerprop" ++) . sanitizeUCIdentifier
handlerNameF = ("handler" ++) . sanitizeUCIdentifier

-- | Return the variable information needed to generate declarations
-- and subscriptions for a given variable name and variable database.
Expand Down