@hackage ogma-cli1.5.0

Ogma: Helper tool to interoperate between Copilot and other languages.

Ogma is a tool to facilitate the integration of safe runtime monitors into other systems. Ogma extends Copilot, a high-level runtime verification framework that generates hard real-time C99 code.

Some use cases supported by Ogma include:

  • Translating requirements defined in structured natural language into monitors in Copilot.

  • Generating the glue code necessary to work with C structs in Copilot.

  • Generating NASA Core Flight System applications that use Copilot for monitoring data received from the message bus.

  • Generating message handlers for NASA Core Flight System applications to make external data in structs available to a Copilot monitor.

  • Generating Robot Operating System (ROS 2) applications that use Copilot for monitoring data received from different topics.

  • Generating F' components that use Copilot for monitoring.

The main invocation with --help lists sub-commands available.

$ ogma --help
ogma - an anything-to-Copilot application generator

Usage: ogma COMMAND
  Generate complete or partial Copilot applications from multiple languages

Available options:
  -h,--help                Show this help text

Available commands:
  structs                  Generate Copilot structs from C structs
  handlers                 Generate message handlers from C structs
  cfs                      Generate a complete CFS/Copilot application
  fprime                   Generate a complete F' monitoring component
  ros                      Generate a ROS 2 monitoring application
  standalone               Generate a Copilot file from an input specification

For further information, see: