-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add yaml tag full support. #1032
base: rolling
Are you sure you want to change the base?
Conversation
@llapx do we have related issue for this? i think we had discussion on supporting yaml tag before, but cannot find the one. |
a8b520e
to
42267c4
Compare
Can anybody help to handle this Failed ?
I have tried without this PR (in local), but the error still exist. |
rcl_yaml_param_parser/src/parse.c
Outdated
(0 == strcmp(tag, YAML_STR_TAG)) || | ||
(0 == strcmp(tag, YAML_INT_TAG)) || | ||
(0 == strcmp(tag, YAML_FLOAT_TAG)) || | ||
(0 == strcmp(tag, YAML_TIMESTAMP_TAG)) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now, TIMESTAMP tag is supported ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's a mistake, I copyed the tags in batch, I have removed it.
rcl_yaml_param_parser/src/parse.c
Outdated
*((bool *)*ret_val) = true; | ||
} | ||
ret = RCUTILS_RET_OK; | ||
goto final; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goto
is unnecessary. Directly do return.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
rcl_yaml_param_parser/src/parse.c
Outdated
ret = RCUTILS_RET_OK; | ||
goto final; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
rcl_yaml_param_parser/src/parse.c
Outdated
final: | ||
return ret; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return RCUTILS_RET_ERROR;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
I just quick check. |
I run rcl test with latest codes in my local environment. Not find this problem. |
Signed-off-by: Lei Liu <[email protected]>
42267c4
to
08b8b2f
Compare
Signed-off-by: Lei Liu <[email protected]>
This lead to
which may not easy to check. |
Signed-off-by: Lei Liu <[email protected]>
60224ee
to
7920f00
Compare
Signed-off-by: Lei Liu <[email protected]>
Can you have a review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conflicts
I'll take over this. Considering that no one has requested full YAML support at the moment, I plan to put this PR on hold for now. Could you change the status to draft and assign to me? |
Signed-off-by: Lei Liu [email protected]