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 -0600
Seen: 444 times
Last updated: Aug 01 '18
[ROS2] using native RTI dds *.idl files with ROS2
Is the .msg in memory format the same for ROS1 and ROS2?
Is the planned ROS1 to ROS2/DDS bridge available yet?
ROS2: content-based topic subscriptions?
ROS 2 Alpha 2 ros1_bridge using DDS between two computers
[ROS2] generating DDS .idl files from .msg ROS Message Format
What is the difference between ROS and ROS2 ?