Skip to content

Automatically exposes ROS 2 topics to CISPA's RTLola interpreter without manual overhead.

License

Notifications You must be signed in to change notification settings

DLR-FT/RTLola-ROS2-Adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

experimental

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.

RTLola-Ros2-Monitor

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 to false.

Members of a ros2 topic are prefixed by the package name, i.e., <package_name_lowercase>__<member>. For instance, if the topic Adc has a member float32 a0, then this member can be accessed by the RTLola specification using input adc__a0: Float32.

For more RTLola information see here.

A comprehensive RTLola tutorial can be found here.

Table of Content

Getting Started

  • 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 generated
    • local_setup_script should point to the ROS 2 overlay you want to generate bindings for
  • cargo run -- ../specs/test_spec.lola

Contributors

  • Sebastian Schirmer

Contributing

Please see the contribution guidelines for further information about how to contribute.

Changes

Please see the Changelog for notable changes of the material.

License

Please see the file LICENSE.md for further information about how the content is licensed.

About

Automatically exposes ROS 2 topics to CISPA's RTLola interpreter without manual overhead.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published