[ROS2] Is there a function to obtain message size of a ROS2 message in C++? [closed]
This could be useful when optimizing system performance.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
This could be useful when optimizing system performance.
Currently there is no API to determine the wire size of a message. And it isn't planned to implement that feature.
Asked: 2019-07-29 13:56:38 -0500
Seen: 303 times
Last updated: Aug 01 '19
How to convert a ROS message file to an IDL file?
SMACC or any other state machine for ROS2
Rviz ViewController 'CurrentView' unavailable
Check if action goal is achieved in different node
How to debug ROS2 Code with an IDE?
Create an array of subscribers in ROS 2
ROS 2 SLAM not working, 'queue is full'
netifaces Library installation failed
By size, do you mean the size of a message once it it serialized?
Yes, if that means the same as the throughput of a publisher if the publisher published that message.
Just want to confirm: Is it not possible at this stage? Will it be supported later?