Dashing migration#11
Conversation
| <version>0.0.1</version> | ||
| <description>Example of a publisher using int32</description> | ||
| <maintainer email="julianbermudez@eprosima.com">Julian Bermudez</maintainer> | ||
| <license>Apache License 2.0</license> |
There was a problem hiding this comment.
| <license>Apache License 2.0</license> | |
| <license>Apache-2.0</license> |
Cf. previous comment and https://spdx.org/licenses/
There was a problem hiding this comment.
Thanks for the information. Change!
| } | ||
| } while (rv); | ||
|
|
||
| rv = rcl_subscription_fini(&subscription, &node); |
There was a problem hiding this comment.
| rv = rcl_subscription_fini(&subscription, &node); | |
| rcl_subscription_fini(&subscription, &node); |
rv is not used.
There was a problem hiding this comment.
It is outdated, new we use macros for return-value-checking.
| } while (rv); | ||
|
|
||
| rv = rcl_subscription_fini(&subscription, &node); | ||
| rv = rcl_node_fini(&node); |
There was a problem hiding this comment.
| rv = rcl_node_fini(&node); | |
| rcl_node_fini(&node); |
rv is not used.
There was a problem hiding this comment.
It is outdated, new we use macros for return-value-checking.
| rclcpp::QoS qos(10); | ||
| publisher_ = this->create_publisher<complex_msgs::msg::NestedMsgTest>( | ||
| "complex_msgs_msg_NestedMsgTest"); | ||
| "complex_msgs_msg_NestedMsgTest", qos); |
There was a problem hiding this comment.
You may want to use rclcpp::SystemDefaultsQoS() instead.
| rclcpp::QoS qos(10); | ||
| subscription_ = this->create_subscription<complex_msgs::msg::NestedMsgTest>( | ||
| "complex_msgs_msg_NestedMsgTest", | ||
| "complex_msgs_msg_NestedMsgTest", qos, |
There was a problem hiding this comment.
Possible to use rclcpp::SystemDefaultsQoS() instead?
ralph-lange
left a comment
There was a problem hiding this comment.
Looks good to me. I like the proper renaming of the packages with suffixes _rclcpp or _rclc. In the next months, we should get rid of rclc completely.
* Add services examples * Refactor pub/sub examples * Add action server example * Action server updated * Add action client example * Adjust action client and server demos * Indentation fix * Ensure finalizing elements * Name typo * Ensure fini elements * Using RCL_MS_TO_NS function in rcl_wait * Style consistency * Independent action client event checking * Style fix * Error handling * Typo * Added multinode example Check required * Sleep to wait matching comment * Indentation fix * Return codes removed
* Refactor add two ints requester * Style refactor and macro rc check * Typos * Typos * rc variable independace * Typo
* Add configuration examples. * Added configuration examples * Client key API * Fix * Examples cleanup ad error code check * Added error check macros * Indentation fix * Indentation fix * Indentation fix Co-authored-by: Borja Outerelo <borjaouterelo@gmail.com>
This pull request adapts these demos to Dashing release.
These demos has been reorganized in different folder
c -> rclcandcpp -> rclcpp.rclporting has not been done yet.