This work is ongoing, and I plan to add features in the future. Feel free to share any requests! You can reach me via sebastian dot schirmer at dlr dot de or open an issue.
ROS 2 adapter for CISPA's RTLola monitoring interpreter.
The adapter assumes a running ROS 2 workspace, i.e., ros2 topic list
returns a list of topics that are currently executed. The adapter will then automatically generate RTLola input stream binding for all available topic data. If a topic called RTLolaOut
is an available interace, i.e., RTLolaOut
is returned by ros2 interface list
, it will also generate a binding to the respective RTLola outputs.
ros2_config.toml allows you to freeze the binding by setting
generate_file
tofalse
.
Members of a ros2 topic are prefixed by the package name, i.e.,
<package_name_lowercase>__<member>
. For instance, if the topicAdc
has a memberfloat32 a0
, then this member can be accessed by the RTLola specification usinginput adc__a0: Float32
.
For more RTLola information see here.
A comprehensive RTLola tutorial can be found here.
- source ROS 2
cd <path_repo>/test_ws
colcon build
source install/setup.bash
ros2 run tester_publisher tester
cd <path_repo>/monitor
- fill out ros2_config.toml:
generate_file = true
if new bindings shall be generatedlocal_setup_script
should point to the ROS 2 overlay you want to generate bindings for
cargo run -- ../specs/test_spec.lola
- Sebastian Schirmer
Please see the contribution guidelines for further information about how to contribute.
Please see the Changelog for notable changes of the material.
Please see the file LICENSE.md for further information about how the content is licensed.