-
Notifications
You must be signed in to change notification settings - Fork 246
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
Support service 2/2 --- rosbag2 service play #1481
Support service 2/2 --- rosbag2 service play #1481
Commits on Apr 12, 2024
-
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for bd06295 - Browse repository at this point
Copy the full SHA bd06295View commit details -
Maintain the future queue of the request by timeout
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 9f7eeba - Browse repository at this point
Copy the full SHA 9f7eebaView commit details -
Use get_message_typesupport_handle() instead of deprecated get_typesu…
…pport_handle() Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 7300741 - Browse repository at this point
Copy the full SHA 7300741View commit details -
Resolve the conflicts caused by the rebase
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for caf9134 - Browse repository at this point
Copy the full SHA caf9134View commit details -
Address review comments from Fujita-san
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 5bb3687 - Browse repository at this point
Copy the full SHA 5bb3687View commit details -
Move codes to new function remove_complete_request_future
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 1c881f0 - Browse repository at this point
Copy the full SHA 1c881f0View commit details -
Move codes to new function remove_all_timeout_request_future()
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 723daab - Browse repository at this point
Copy the full SHA 723daabView commit details -
Add warning log and lock protection
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for a4249e2 - Browse repository at this point
Copy the full SHA a4249e2View commit details -
Optimize code in PlayerImpl::publish_message()
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 5a29cf5 - Browse repository at this point
Copy the full SHA 5a29cf5View commit details -
Changed the code logic for determining whether to use request data of…
… client or service Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for b23cbf6 - Browse repository at this point
Copy the full SHA b23cbf6View commit details -
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 81ff4f2 - Browse repository at this point
Copy the full SHA 81ff4f2View commit details -
Correct the parameter descriptions and remove unnecessary code
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 2b85f7f - Browse repository at this point
Copy the full SHA 2b85f7fView commit details -
Extend the parameters for the "play" command
Add new parameters '--exclude-topics' and '--exclude-services'. Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for d024a9b - Browse repository at this point
Copy the full SHA d024a9bView commit details -
Move implmentation of struct client_id_hash to cpp
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 50ecde9 - Browse repository at this point
Copy the full SHA 50ecde9View commit details -
Address some minor review comments
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 2cfa9e6 - Browse repository at this point
Copy the full SHA 2cfa9e6View commit details -
Replace std::variant<SharedPlayerPublisher, SharedPlayerClient>>
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 2315487 - Browse repository at this point
Copy the full SHA 2315487View commit details -
Added code for cleaning up pending requests
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for e5fad27 - Browse repository at this point
Copy the full SHA e5fad27View commit details -
Avoid creating publisher or client for filtered topic
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 5a96af4 - Browse repository at this point
Copy the full SHA 5a96af4View commit details -
Update code on filtering message for mcap
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 7fd8786 - Browse repository at this point
Copy the full SHA 7fd8786View commit details -
Use explicit namespace for topic name and update tests
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for bf8decc - Browse repository at this point
Copy the full SHA bf8deccView commit details -
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 99df5a5 - Browse repository at this point
Copy the full SHA 99df5a5View commit details -
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 06d8911 - Browse repository at this point
Copy the full SHA 06d8911View commit details -
Adjust the default timeout and queue length for request future
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 6e9032c - Browse repository at this point
Copy the full SHA 6e9032cView commit details -
Cleanup and optimization in mcap_storage.cpp
- Rewrite topic_filter to make clean and concise implementation. - Also addressed multiple performance related issues in topic_filter. - Delete MCAP_COMPILE_DEFS ROSBAG2_STORAGE_MCAP_HAS_STORAGE_FILTER_TOPIC_REGEX compilation flag since it is become absolute on Rolling, and we are not using anymore the same version of the mcap storage plugin for older ROS 2 distros. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 2a265b7 - Browse repository at this point
Copy the full SHA 2a265b7View commit details -
Move mcap topic_filter tests to a separate file
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for bd2e1de - Browse repository at this point
Copy the full SHA bd2e1deView commit details -
Add TestResetFilter and CanSelectWithTopicsListOnly to the mcap storage
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for b9db0bf - Browse repository at this point
Copy the full SHA b9db0bfView commit details -
Add CanSelectWithServiceEventsListOnly test to the mcap storage
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for c5fd5b3 - Browse repository at this point
Copy the full SHA c5fd5b3View commit details -
Cleanups and renames in the sqlite_storage.cpp
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for e784e70 - Browse repository at this point
Copy the full SHA e784e70View commit details -
Move SQLite3 topic_filter tests to a separate file
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for a94777e - Browse repository at this point
Copy the full SHA a94777eView commit details -
Bugfix in sqlite topic filters when service_events or topics lists empty
- Also add new tests `CanSelectWithTopicsListOnly` and `CanSelectWithServiceEventsListOnly` to cover changes. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 1de50be - Browse repository at this point
Copy the full SHA 1de50beView commit details -
Rename test_sqlite3_topic_filter.cpp for consistency
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 72abcdf - Browse repository at this point
Copy the full SHA 72abcdfView commit details -
Change API to use rcl_serialized_message_t to avoid 2 extra message copy
- Changed API for `async_send_request(..)`, `is_include_request_message(..)` and `get_msg_event_type(..)`` to use `rcl_serialized_message_t` instead of the `rclcpp::SerializedMessage` to avoid 2 extra message copy. - Renamed `introspection_include_metadata_and_contents(..)` to the `service_event_include_metadata_and_contents(..)`. - Altered `check_service_event_include_metadata_and_contents` unit test to use real serialized service event for verification and comparison. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 456a184 - Browse repository at this point
Copy the full SHA 456a184View commit details -
Misc minor fixes from previous rounds of review and new findings (1)
- Mostly renames, cleanup in style wording and optimization in constructors Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 154a1c7 - Browse repository at this point
Copy the full SHA 154a1c7View commit details -
Address ament_flake8 warning in regards whitespaces in the blank lines
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 8594720 - Browse repository at this point
Copy the full SHA 8594720View commit details -
Simplify logic in is_topic_selected_by_white_list_or_regex(..)
Signed-off-by: Michael Orlov <michael.orlov@apex.ai> Co-authored with: Barry Xu <barry.xu@sony.com> Co-authored-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for d7f0f49 - Browse repository at this point
Copy the full SHA d7f0f49View commit details -
Check is_topic_in_black_list_or_exclude_regex(..) first
Co-authored-by: Barry Xu <barry.xu@sony.com> Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for fa6b96d - Browse repository at this point
Copy the full SHA fa6b96dView commit details -
Add test coverage for the cases when exclude lists overlap with include
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 8e626df - Browse repository at this point
Copy the full SHA 8e626dfView commit details -
Bugfix for incorrectly including all services when regex is not empty
- Also add test coverage with new tests FilterTopicsAndServicesWithRegexAndNonexistentTopicsList and FilterTopicsAndServicesWithRegexAndNonexistentServicesList Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 627c4be - Browse repository at this point
Copy the full SHA 627c4beView commit details -
Rename test_sqlite3_topic_filter in CMakeList.txt
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for a844532 - Browse repository at this point
Copy the full SHA a844532View commit details -
Update spin & termination and add service ready check before play
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for c356bdb - Browse repository at this point
Copy the full SHA c356bdbView commit details -
Fix the issue of published_messages_from_multiple_services_are_record…
…ed failing randomly Increase the waiting time for the record to start spinning. Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 9fbce1b - Browse repository at this point
Copy the full SHA 9fbce1bView commit details -
Make service_event_ts_lib as private member again
- Motivation: The shared pointer to the service event type support library shall be a member variable to make sure that library loaded during the liveliness of the instance of this class, since we have a raw pointers to its inner members. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 7860163 - Browse repository at this point
Copy the full SHA 7860163View commit details -
Cleanup in PlayerServiceClient::async_send_request(ser_message)
- Rewrite raw pointers arithmetic. Assumption that size_t represent size of the void* may not necessarily be true on all platforms. - Use shared pointer with custom deleter for deserialized message. - Assumption that we can take first element from bounded sequence by dereferencing raw pointer to the bounded sequence may not be necessarily be true and up to the underlying rmw and transport layer implementation. Use dedicated request_member.get_function(request_sequence_ptr, 0) function instead. - Add sanity checks `for service_event_members_` in PlayerServiceClient constructor. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 842ac41 - Browse repository at this point
Copy the full SHA 842ac41View commit details -
Refactoring. Do full deserialization and only once
- Rationale: We can't rely on assumption that we can safely partially deserialize service event to the ServiceEventInfo structure. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 924ac88 - Browse repository at this point
Copy the full SHA 924ac88View commit details -
Specify service request from which introspection message and fix uncr…
…ustify errors Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 0ffc4f7 - Browse repository at this point
Copy the full SHA 0ffc4f7View commit details -
Revert uncrustify changes from previous commit.
- Rationale: We are moving to the new version of the uncrustify in rolling and still haven't done it yet fully for the baseline. The discrepancy in style for other untouched files like logging.hpp shall be addressed in a separate PR. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 8d27495 - Browse repository at this point
Copy the full SHA 8d27495View commit details -
Rename service_request_from to the service_requests_source
- Also rename enum class ServiceRequestFrom to the ServiceRequestsSource Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for ed823cc - Browse repository at this point
Copy the full SHA ed823ccView commit details -
Add Player::wait_for_sent_service_requests_to_finish() API
- We need this API to be able to write deterministic and non-flaky tests Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 96429de - Browse repository at this point
Copy the full SHA 96429deView commit details -
Mitigate potential issues related to the operations reordering on ARM
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 85ca975 - Browse repository at this point
Copy the full SHA 85ca975View commit details -
Make tests play_service_requests_from_service(client) deterministic
- Get rid of timeout inside tests and use newly added player->wait_for_sent_service_requests_to_finish(service_name) API. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for ae5bc26 - Browse repository at this point
Copy the full SHA ae5bc26View commit details -
Misc findings and improvements 1
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 9e7089c - Browse repository at this point
Copy the full SHA 9e7089cView commit details -
Rename get_services_clients() to the get_service_clients()
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 3e6675f - Browse repository at this point
Copy the full SHA 3e6675fView commit details -
Add a new CLI parameter "--publish-service-requests" for Player
Also added a new option publish_service_requests to the PlayOptions. Note: By default rosbag2 player will publish service events only. Signed-off-by: Barry Xu <barry.xu@sony.com> Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for c5fc51c - Browse repository at this point
Copy the full SHA c5fc51cView commit details -
Fix an issue on filtering topic when prepare publishers
Co-authored-by: Barry Xu <barry.xu@sony.com> Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 15f5562 - Browse repository at this point
Copy the full SHA 15f5562View commit details -
Cleanup in play_without_publish_service_requests
- Long story short: Make it deterministic and run fast. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for a3f9418 - Browse repository at this point
Copy the full SHA a3f9418View commit details -
Wrap code which can throw with try-catch in the publish_message(..)
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 35cf8e8 - Browse repository at this point
Copy the full SHA 35cf8e8View commit details -
Delete some part of the code which became absolute and shall not be used
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for bb61984 - Browse repository at this point
Copy the full SHA bb61984View commit details -
Configuration menu - View commit details
-
Copy full SHA for c853d60 - Browse repository at this point
Copy the full SHA c853d60View commit details -
Remove code on meaningless waiting for published_messages_from_multip…
…le_services_are_recorded Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 599f390 - Browse repository at this point
Copy the full SHA 599f390View commit details -
Update the code following the rebase
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 19e7f62 - Browse repository at this point
Copy the full SHA 19e7f62View commit details -
Remove a unnecessary check and simplify the code
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 22958b5 - Browse repository at this point
Copy the full SHA 22958b5View commit details -
Cleanup in service replay related tests
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for d686e15 - Browse repository at this point
Copy the full SHA d686e15View commit details -
Regenerate Python stub files (.pyi) after altering python API in PR
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 318f1b7 - Browse repository at this point
Copy the full SHA 318f1b7View commit details -
Increase the timeout of waiting for the service to be ready
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 728b791 - Browse repository at this point
Copy the full SHA 728b791View commit details -
Update the code for waiting on all futures of one service client
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for dc19f60 - Browse repository at this point
Copy the full SHA dc19f60View commit details -
Cleanup API for wait_for_sent_requests_to_finish(..)
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 1577041 - Browse repository at this point
Copy the full SHA 1577041View commit details
Commits on Apr 13, 2024
-
Fixes for Windows CI build failure
- Add storage factory object as member variable to the test fixture class. The storage factory object shall persist while returned storage object persist. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for dbd0212 - Browse repository at this point
Copy the full SHA dbd0212View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96dce04 - Browse repository at this point
Copy the full SHA 96dce04View commit details -
Increase timeout value to stabilize a test
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for 87526a7 - Browse repository at this point
Copy the full SHA 87526a7View commit details -
Fix a bug in PlayerImpl::wait_for_sent_service_requests_to_finish
Signed-off-by: Barry Xu <barry.xu@sony.com>
Configuration menu - View commit details
-
Copy full SHA for e95a51e - Browse repository at this point
Copy the full SHA e95a51eView commit details -
Disable test_burst for RTI DDS due to the failure with missing requests
- The test `burst_bursting_only_filtered_services` fails only with rmw_connext_dds for unknown reasons and tends to be flaky. Sometimes we receive only one service request instead of 2. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for aaaac74 - Browse repository at this point
Copy the full SHA aaaac74View commit details -
Revert "Disable test_burst for RTI DDS due to the failure with missin…
…g requests" This reverts commit aaaac74. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for f41b3d3 - Browse repository at this point
Copy the full SHA f41b3d3View commit details -
Disable burst_bursting_only_filtered_services for rmw_connextdds
- The test `burst_bursting_only_filtered_services` fails only with rmw_connext_dds for unknown reasons and tends to be flaky. Sometimes we receive only one service request instead of 2. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Configuration menu - View commit details
-
Copy full SHA for 6c6c00a - Browse repository at this point
Copy the full SHA 6c6c00aView commit details