User Tools

Site Tools


eeros_architecture:control_system:available_blocks:rospubdoublearray

This is an old revision of the document!


ROS Publisher Double Array

This block samples the vector signal at its input and packs it into a ROS message of type std_msgs::Float64MultiArray. 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
  RosPublisherDoubleArray pubArray(rosNodeHandler, "myNode/myTopic"); // create publisher block
eeros_architecture/control_system/available_blocks/rospubdoublearray.1509572566.txt.gz · Last modified: 2017/11/01 22:42 by graf