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: 387 times
Last updated: Aug 01 '18
ROS2: DDS RMW static discovery configuration
ros2 arm fails to communicate with pc
ROS2 / DDS Visibility of Topics/Nodes
How can I check what middleware I am using in ros2?
SMACC or any other state machine for ROS2
ROS 2 Crystal : Can't get parameter list of string from YAML file