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 ?
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
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2018-08-01 08:44:49 -0500
Seen: 222 times
Last updated: Aug 01 '18
Turtlebot3 ROS2 DDS Implementation error
How to use 'enum' in (OMG) IDL
docker containers with ROS2 are unable to communicate
Autoware.Auto Release Branch 1.0.0 failed to build with colcon
Need to Connect uP to ROS/Linux on a new project. Is ROS2 the way to go?
Easy way to cancel a ROS2 action
ROS2 Python call_async() blocked
ROS2: subscription/service/timer callbacks not being called