ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Log message length limit

asked 2020-12-07 12:14:12 -0600

joe@volvo gravatar image

Hi, Does ROS or ROS2 have a limit on the maximum length a log message can have?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-12-07 12:46:41 -0600

agutenkunst gravatar image

I would assume something like https://en.cppreference.com/w/cpp/str.... For ROS1 internally https://logging.apache.org/log4cxx/la... 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?

edit flag offensive delete link more

Comments

I don't have a specific use case or problem. Just curios that ROS IDL string type does not have a limit specifier. And it was not clear to me what would happen if I pass a very long log string.

joe@volvo gravatar image joe@volvo  ( 2020-12-07 12:52:08 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2020-12-07 12:14:12 -0600

Seen: 272 times

Last updated: Dec 07 '20