Publishing and Subscribing Vectors
Hi,
How can I receive a vector (with unknown length and contains three floats) over Publisher and Subscriber in C++?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi,
How can I receive a vector (with unknown length and contains three floats) over Publisher and Subscriber in C++?
Do you want a dynamic array of geometry_msgs/Vector3 by defining your own message type ?
Like this:
Vector3Array.msg:
geometry_msgs/Vector3[] data
Question in Comment:
PubSub Tutorial: http://wiki.ros.org/ROS/Tutorials/Wri...
To Create your own message, follow this:
Asked: 2015-08-02 09:03:32 -0500
Seen: 1,514 times
Last updated: Aug 03 '15
[ROS2] Issues with OptionsWithAllocator in humble
Publisher/Subscriber Error with /cmd_vel
subscriber callback unable to access class member
ROS subscriber/publisher communication
Using non-supported hardware in a ROS system
Node to NOde synchronous communication using Publisher Subscriber Architecture
how to add 2 or more topics in one subscriber. c++
How to publish a dictionary with other dictionary inside in a topic?
Can a single node act as publisher and subscriber alternativelye