User Tools

Site Tools


eeros_architecture:control_system:available_blocks:ros2subtwist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

eeros_architecture:control_system:available_blocks:ros2subtwist [2025/03/18 14:00] – created ursgrafeeros_architecture:control_system:available_blocks:ros2subtwist [2025/03/18 14:02] (current) ursgraf
Line 1: Line 1:
 ====== ROS2 Subscriber Twist Message ====== ====== ROS2 Subscriber Twist Message ======
-This block receives a twist message of type ''geometry_msgs::msg::Twist'' from the input signals +This block receives a twist message of type ''geometry_msgs::msg::twist'' from the input signals 
-''pose'' and ''twist'' and publishes it as a ''nav_msgs::msg::Odometry'' message.+''pose'' and ''twist'' and publishes it as a ''geometry_msgs::msg::twist'' message.
  
 <code cpp> <code cpp>
-  RosPublisherOdometry pubOdom(node, "/test/odom", "rbf", "of"); // create publisher block+  RosSubscriberTwist subTwist(node, "/test/twist"); // create subscriber block
 </code> </code>
  
-See [[https://github.com/eeros-project/eeros-framework/blob/master/includes/eeros/control/ros2/RosPublisherOdometry.hpp]] for further details.+See [[https://github.com/eeros-project/eeros-framework/blob/master/includes/eeros/control/ros2/RosSubscriberTwist.hpp]] for further details.
eeros_architecture/control_system/available_blocks/ros2subtwist.txt · Last modified: 2025/03/18 14:02 by ursgraf