-
Notifications
You must be signed in to change notification settings - Fork 1
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 Fast DDS Waitsets to Vulcanexus Humble branch #13
Conversation
…#616) Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
…ith get_first_untaken_info Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
…READ Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp
Outdated
Show resolved
Hide resolved
@@ -102,12 +103,6 @@ __rmw_destroy_service( | |||
show_previous_error(); | |||
RMW_SET_ERROR_MSG("Fail in delete datareader"); | |||
final_ret = RMW_RET_ERROR; | |||
info->request_reader_->set_listener(nullptr); |
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.
Do not remove this line. In case that the DataReader deletion fails, the listener is detached from the DataReader so it can be deleted without having any conflict. Same comment applies below to the response_writer
.
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.
response_writer
listener is not set to nullptr
in case that the deletion of the DataWriter fails. This could cause a core dump if the deleted listener is still attached to the DataWriter.
I suggest applying these suggestions to the original PR too. |
3aec19d
to
966891b
Compare
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
966891b
to
c31f2eb
Compare
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
…ents. Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
c31f2eb
to
aca2fae
Compare
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.
Changes LGTM!
Disclaimer: currently the following tests in rclcpp
are failing. This is caused because ROS 2 assumes that every sample is notified when this is not necessarily required.
test_client
test_service
test_subscription
Due to the current implementation, notifying more samples than expected can lead to some overhead performance. Nevertheless, changes included in this PR are required to solve several other more important issues.
No description provided.