Repository navigation
Mauro/ipc cli serv qos getters - #9
Closed
mauropasse wants to merge 3 commits into
Closed
mauropasse wants to merge 3 commits into
mauropasse wants to merge 3 commits into
Conversation
Signed-off-by: Tomoya Fujita <[email protected]>
alsora
reviewed
Dec 16, 2021
| auto shared_future = promise.get_future().share(); | ||
| auto req_id = async_send_request_impl( | ||
| *request, | ||
| request, |
Owner
Author
There was a problem hiding this comment.
request is also used in line 646, if I move it, would be invalid
alsora
reviewed
Dec 16, 2021
| } | ||
| bool intra_process_server_available = ipm->service_is_available(intra_process_client_id_); | ||
|
|
||
| if (intra_process_server_available) { |
There was a problem hiding this comment.
why if the server is not available we fall back to DDS comm?
Owner
Author
There was a problem hiding this comment.
Because the server might be available in another process, or created with IPC OFF.
There was a problem hiding this comment.
Good point.
We should add a comment about it.
alsora
reviewed
Dec 16, 2021
| // Send inter-process request | ||
| int64_t sequence_number; | ||
| rcl_ret_t ret = rcl_send_request(get_client_handle().get(), &request, &sequence_number); | ||
| rcl_ret_t ret = rcl_send_request(get_client_handle().get(), &(*request), &sequence_number); |
alsora
reviewed
Dec 16, 2021
| private: | ||
| using ClientIntraProcessT = rclcpp::experimental::ClientIntraProcess<ServiceT>; | ||
| std::shared_ptr<ClientIntraProcessT> client_intra_process_; | ||
| std::atomic_uint sequence_number_{1}; |
There was a problem hiding this comment.
should this be named "ipc_sequence_number_" ?
alsora
reviewed
Dec 16, 2021
| const rmw_qos_profile_t & qos_profile, | ||
| rclcpp::CallbackGroup::SharedPtr group) | ||
| rclcpp::CallbackGroup::SharedPtr group, | ||
| rclcpp::IntraProcessSetting ip_setting) |
There was a problem hiding this comment.
let's use ipc_setting for the variable name... ip_setting seems the network IP
mauropasse
force-pushed
the
mauro/ipc-cli-serv-qos-getters
branch
from
December 16, 2021 21:16
95c12b2 to
fcb615b
Compare
Signed-off-by: Mauro Passerino <[email protected]>
mauropasse
force-pushed
the
mauro/ipc-cli-serv-qos-getters
branch
from
December 16, 2021 21:17
fcb615b to
968e071
Compare
Signed-off-by: Mauro Passerino <[email protected]>
mauropasse
force-pushed
the
mauro/ipc-cli-serv-qos-getters
branch
from
December 16, 2021 21:21
968e071 to
89fbc94
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.