-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upstream quality changes from Apex.AI part 1 (#1903)
* Make sure to start with clean subscriptions list in Recorder::record() - It could be some residual subscriptions in list in case if previous call to Recorder::record() failed for some reason and Recorder::stop() wasn't called. Signed-off-by: Michael Orlov <[email protected]> * Fix clang16 warning that timestamp comparator is not initialized Signed-off-by: Michael Orlov <[email protected]> * Address Axivion warnings in rosbag2_py 1. MisraC++2023-8.1.1 [required]: _transport.cpp:286 This variable shall not be implicitly captured in a lambda expression.; Field: [] 2. MisraC++2023-8.2.3 [required]: _transport.cpp:50 Cast removes const qualification; Field: [const char*->char*] Signed-off-by: Michael Orlov <[email protected]> * Gracefully handle exceptions from on-play callbacks in player Signed-off-by: Michael Orlov <[email protected]> * Move wait_for_playback_to_start() to public section - Rationale: Need to use in another package - Added timeout parameter for the wait_for_playback_to_start(..) to make it non-blocking call optionally and return boolean value. Signed-off-by: Michael Orlov <[email protected]> * Fix memory leaks in tests - Use custom deleter when releasing rcl serialized buffer to a shared pointer. Signed-off-by: Michael Orlov <[email protected]> * Don't keep trying to publish next message if we failed first time - The Player::play_next() should return false right away if for some reason failed to publish current message. Signed-off-by: Michael Orlov <[email protected]> * Wrap run_play_msg_pre_callbacks(message) in its own try-catch - Also added `play_next_returns_false_if_pre_callback_throw_exception` unit test. Signed-off-by: Michael Orlov <[email protected]> * Use absolute path instead of relative path in the InfoEndToEndTestFixture Signed-off-by: Michael Orlov <[email protected]> * Call discovery_future_.get() if it's ready in the `stop_discovery()` - Also add missing `include <unordered_set>` Signed-off-by: Michael Orlov <[email protected]> * Move wait_for_playback_to_start(..) declaration and fixed wording Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]>
- Loading branch information
1 parent
9351e6a
commit 871a447
Showing
8 changed files
with
169 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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