ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I would assume something like https://en.cppreference.com/w/cpp/string/basic_string/max_size. For ROS1 internally https://logging.apache.org/log4cxx/latest_stable/apidocs/classlog4cxx_1_1spi_1_1_logging_event.html is used thus I would assume you could use the maximum string size. Yet I would not recommend this.
Do you have a bug where you expect this to be an issue?
What is the use case you have in mind where such a limit could play a role?