User Tools

Site Tools


eeros_architecture:control_system:available_blocks:rospubdouble

Differences

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

Link to this comparison view

Next revision
Previous revision
eeros_architecture:control_system:available_blocks:rospubdouble [2017/11/01 22:41] – created grafeeros_architecture:control_system:available_blocks:rospubdouble [2025/03/18 13:38] (current) ursgraf
Line 1: Line 1:
 ====== ROS Publisher Double ====== ====== ROS Publisher Double ======
-This block samples the signal at its input and packs it into a ROS message of type ''sensor_msgs::FluidPressure''. Each time the block is run by its time domain, this message is published under a given topic name.+This block samples the signal at its input and packs it into a ROS message of type ''std_msgs::Float64''. Each time the block is run by its time domain, this message is published under a given topic name.
 <code cpp> <code cpp>
-  ros::NodeHandle rosNodeHandler;                                 // define a handler for ROS nodes +  RosPublisherDouble pubDouble("myTopic"); // create publisher block
-  RosPublisherDouble pubDouble(rosNodeHandler, "myNode/myTopic"); // create publisher block+
 </code> </code>
  
 +This block can be connected to any signal whose value has type ''double''. \\ 
 +IMPORTANT The time stamp of the signal is not transmitted.
eeros_architecture/control_system/available_blocks/rospubdouble.1509572470.txt.gz · Last modified: 2017/11/01 22:41 by graf