agent Kernel
based on the systemConf.json
file.
All ConstantValues
are sent to the agent once identified on its first configuration. They will also get updated after the update of the configuration.An example of constant value could be
rostopics:["/demo/bool" "/gps/fix"]
.
In this example, the monitor retrieves the constant value rostopics
to know which topics to monitor.
Usage
The API is the same for C++ and Python agents. After the agent is ready, i.e whenawaitReady
returns, use the method getConstantValues()
to retrieve a map of keys as string and values as vector of strings.
- C++
- Python