Learn from examples#
Your module will use the interfaces of other S-CORE modules. The best way to learn how they are used is to look at their example applications. Most modules provide them in their repository:
Module |
Examples |
|---|---|
baselibs |
examples, e.g. the logging frontends
|
communication |
mw::com tutorial with producer and consumer applications |
config_management |
|
kyron |
examples, e.g. |
lifecycle |
examples: supervised applications in C, C++ and Rust and a control application for the launch manager |
logging |
examples and the custom recorder example |
persistency |
examples and the Rust KVS examples |
time |
examples/time: |
Examples in the reference integration#
The reference integration shows how these
examples run on the integrated platform. Its
showcases build the example
applications directly from the module repositories, e.g. @score_kyron//examples:safety_task or
@score_time//examples/time/steady_time, and combine modules, e.g. lifecycle with communication.
The platform integration tests
(PIT) start these showcases on the reference images and check their results.
Integrating your module#
Once your module is released, it can be integrated into the S-CORE platform. Follow the
integration process
of the reference integration. It describes step by step how a module is registered in known_good.json, built for
all target platforms, deployed onto the images as showcase, tested and included in the reports. If you integrate
S-CORE modules into your own distribution, use the reference integration and this guide as a blueprint.
How module versions get into an S-CORE release is described in the integration process
of this user guide.