[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 | Q&A answers.ros.org |
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 -0600
Seen: 186 times
Last updated: Aug 01 '19
[autoware.auto]No create cluster button
ament_python: Package doesn't explicitly install a marker in the package index
Ways to transition between robot motion nodes
[ERROR] [launch]: Caught exception in launch
Complete coverage planner for ROS2
"Goal was rejected by server" with built-in fake controllers
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?