How is the size of a string allocated in ROS2 idl ?
How is the size of a string dynamically allocated while converting msg to idl. Is there a possibility to limit this size ?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
This looks like a duplicate of your previous question: https://answers.ros.org/question/2992...
To see how to define bounded strings in ROS2 you can refer to the Interface Definition design document:
a string with an upper boundary: string<=N to limit the length of the string to N characters
An example of message definition using bounded strings is available here
Asked: 2018-08-01 08:44:49 -0500
Seen: 389 times
Last updated: Aug 01 '18
ros2 arm fails to communicate with pc
Frozen map + 'Message filter dropping'... Issues with mapping and navigation
ROS2 How to check if a publisher is connected?
Using Kinect 360 in ROS 2 Foxy
[ROS2] using dynamic parameters in Python
Colcon test not running gtests