Page History
...
If you use Matlab you need to use the init script. Load required data (e.g. XML configuration files), setup the reader and writer etc. Alternatively, use a script that is inspired by the init script. QOS_LOCAL_COMMUNICATION.xml is always located in ~/dev/software/middleware/build
, and precompiled DDS IDL Matlab files can always be found in ~/dev/software/cpm_lib/dds_idl_matlab
. Other files cannot be expected to be found on the NUC, unless you put them in the same folder as your own script.
...
The following data type is used to check for NUC-crashes.
struct HLCHello {
string source_id; //To find out where the msg came from and to not answer to own msg
boolean script_running; //If true, a Matlab / C++ session is still running
boolean middleware_running; //If true, a Middleware session is still running
};https://github.com/embedded-software-laboratory/cpm_lab/blob/master/cpm_lib/dds_idl/HLCHello.idl
Explanation: Hello messages are sent regularly by each NUC. Missing messages or unexpected entries can be used to detect errors.
...
Overview
Content Tools