eeros_architecture:control_system:available_blocks:rospubsafetylevel
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
eeros_architecture:control_system:available_blocks:rospubsafetylevel [2019/01/17 11:31] – graf | eeros_architecture:control_system:available_blocks:rospubsafetylevel [2023/02/09 12:02] (current) – ursgraf | ||
---|---|---|---|
Line 2: | Line 2: | ||
This block reads the safety level id and packs it into a ROS message of type '' | This block reads the safety level id and packs it into a ROS message of type '' | ||
<code cpp> | <code cpp> | ||
- | RosPublisherSafetyLevel pubSL(" | + | RosPublisherSafetyLevel pubSL(" |
+ | </ | ||
+ | For ROS2 you have to pass the node, from where the topic is sent. The ROS2 message is of type std_msgs:: | ||
+ | <code cpp> | ||
+ | RosPublisherSafetyLevel pubSL(node, "myTopic" | ||
</ | </ | ||
eeros_architecture/control_system/available_blocks/rospubsafetylevel.1547721102.txt.gz · Last modified: 2019/01/17 11:31 by graf