Increase MAX_STRING_SIZE (#487)

* Increase MAX_STRING_SIZE

It's too short for string length.
It occurs the error when the string field in yaml files are too long....

Signed-off-by: Hyunseok Yang <hyunseok7.yang@lge.com>

* update test to match increased limit

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
This commit is contained in:
hyunseok-yang 2019-08-24 06:52:46 +09:00 committed by Dirk Thomas
parent 2431ed6d1f
commit d07003847b
2 changed files with 2 additions and 3 deletions

View file

@ -65,7 +65,7 @@ typedef struct namespace_tracker_s
uint32_t num_parameter_ns;
} namespace_tracker_t;
#define MAX_STRING_SIZE 128U
#define MAX_STRING_SIZE 256U
#define PARAMS_KEY "ros__parameters"
#define NODE_NS_SEPERATOR "/"
#define PARAMETER_NS_SEPERATOR "."