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.

  RosPublisherDoubleArray pubArray(rosNodeHandler, "myNode/myTopic", 100); // create publisher block

This block can be connected to any signal whose value is of type Matrix<N, 1, double>.
IMPORTANT The time stamp of the signal is not transmitted.

eeros_architecture/control_system/available_blocks/rospubdoublearray.1509909211.txt.gz · Last modified: 2017/11/05 20:13 (external edit)