User Tools

Site Tools


eeros_architecture:control_system:available_blocks:rospubdouble

This is an old revision of the document!


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.

  ros::NodeHandle rosNodeHandler;                                 // define a handler for ROS nodes
  RosPublisherDouble pubDouble(rosNodeHandler, "myNode/myTopic"); // create publisher block
eeros_architecture/control_system/available_blocks/rospubdouble.1509572470.txt.gz · Last modified: 2017/11/01 22:41 by graf