Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Command.CFSApp
Description
Create NASA Core Flight System (CFS) applications that subscribe to the communication bus and call Copilot when new messages arrive.
The applications are created ready to be extracted in the application directory in CFS, and they subscribe to a generic monitor. It is the user's responsibility to modify the generated Copilot and C code to deal with the monitors they'd like to implement, and the data they must manipulate.
Synopsis
- command :: CommandOptions -> IO (Result ErrorCode)
- data CommandOptions = CommandOptions {
- commandInputFile :: Maybe FilePath
- commandTargetDir :: FilePath
- commandTemplateDir :: Maybe FilePath
- commandVariables :: Maybe FilePath
- commandVariableDB :: Maybe FilePath
- commandHandlers :: Maybe FilePath
- commandFormat :: String
- commandPropFormat :: String
- commandPropVia :: Maybe String
- commandExtraVars :: Maybe FilePath
- type ErrorCode = Int
Documentation
command :: CommandOptions -> IO (Result ErrorCode) Source #
Generate a new CFS application connected to Copilot.
data CommandOptions Source #
Options used to customize the conversion of specifications to ROS applications.
Constructors
CommandOptions | |
Fields
|