Skip to content

use string_array_t from c_utilities package - #75

Merged
Karsten1987 merged 2 commits into
masterfrom
utilities_string_array
Apr 14, 2017
Merged

Karsten1987 merged 2 commits into
masterfrom
utilities_string_array

Conversation

@Karsten1987

@Karsten1987 Karsten1987 commented Apr 11, 2017 •

Copy link
Copy Markdown
Contributor

connects to ros2/rmw#100

@Karsten1987 Karsten1987 self-assigned this Apr 11, 2017
@Karsten1987 Karsten1987 added the in progress Actively being worked on (Kanban column) label Apr 11, 2017
@mikaelarguedas mikaelarguedas changed the title use c_utilities package use string_array_t from c_utilities package Apr 12, 2017
Comment thread rclpy/src/rclpy/_rclpy.c
}

ret = rcl_destroy_node_names(&node_names);
ret = utilities_string_array_fini(&node_names);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comparing to the wrong return code macro again, should be UTILITIES_RET_OK.

Comment thread rclpy/src/rclpy/_rclpy.c
ret = utilities_string_array_fini(&node_names);
if (ret != RCL_RET_OK) {
PyErr_Format(PyExc_RuntimeError,
"Failed to destroy node_names: %s", rcl_get_error_string_safe());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as for rclcpp, is the rcl error message actually set here?

@Karsten1987
Karsten1987 force-pushed the utilities_string_array branch from f0ad404 to 8386812 Compare April 13, 2017 23:23
@Karsten1987
Karsten1987 merged commit d91a0eb into master Apr 14, 2017
@Karsten1987
Karsten1987 deleted the utilities_string_array branch April 14, 2017 23:19
@Karsten1987 Karsten1987 removed the in progress Actively being worked on (Kanban column) label Apr 14, 2017
YuanYuYuan pushed a commit to YuanYuYuan/rclpy that referenced this pull request Nov 12, 2025
Split codegen into two public functions with the option to call them separately
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants