ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You cannot publish arbitrary C++ objects to ROS topics, but only those for which a msg definition has been generated. See the tutorials on msg/srv. Some conversions between Eigen and corresponding msg types are available in the eigen_conversions package. See also the code API. Also included is a conversion from Eigen Matrix to Float64MultiArray (but not the other way around for some reason).