Skip to content

rosbag2_py pybind wrapper for "record" - remove rosbag2_transport_py - #702

Merged
emersonknapp merged 8 commits into
masterfrom
emersonknapp/ros2bag-record-pybind
Mar 31, 2021
Merged

emersonknapp merged 8 commits into
masterfrom
emersonknapp/ros2bag-record-pybind

Conversation

@emersonknapp

Copy link
Copy Markdown
Collaborator

Depends on #693

Followup to rosbag2_py::Player

Add a rosbag2_py::Recorder - and expose RecordOptions to Python. Remove rosbag2_transport_python.cpp - it is fully replaced.

Emerson Knapp added 4 commits March 30, 2021 15:08
@emersonknapp
emersonknapp requested a review from a team as a code owner March 31, 2021 01:19
@emersonknapp
emersonknapp requested review from jaisontj and prajakta-gokhale and removed request for a team March 31, 2021 01:19

@Karsten1987 Karsten1987 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet!

LGTM with green CI.

@emersonknapp

Copy link
Copy Markdown
Collaborator Author

Gist: https://gist.githubusercontent.com/emersonknapp/e82c17523b5d1535935dc776b2246fc9/raw/dc1536d0818be644c16e0d3e7341e1f4c8107608/ros2.repos
BUILD args: --packages-up-to rosbag2_tests rosbag2_transport ros2bag rosbag2_py rosbag2
TEST args: --packages-select rosbag2_tests rosbag2_transport ros2bag rosbag2_py rosbag2
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/8045

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Emerson Knapp added 4 commits March 31, 2021 01:30
Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
@emersonknapp

Copy link
Copy Markdown
Collaborator Author
  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@emersonknapp

Copy link
Copy Markdown
Collaborator Author

Windows cmake warning is unrelated - it's from the rti cmake module

@emersonknapp
emersonknapp merged commit 8b1308b into master Mar 31, 2021
@delete-merged-branch
delete-merged-branch Bot deleted the emersonknapp/ros2bag-record-pybind branch March 31, 2021 18:04
@Karsten1987

Copy link
Copy Markdown
Collaborator

it looks like that change introduced a regression on the tests. We see the same test failures on all platforms:
https://ci.ros2.org/view/nightly/job/nightly_linux-aarch64_debug/1559/testReport/junit/(root)/projectroot/test_transport_py/

@emersonknapp

Copy link
Copy Markdown
Collaborator Author

That's no good - I am looking into it

@Karsten1987

Copy link
Copy Markdown
Collaborator

@emersonknapp

Copy link
Copy Markdown
Collaborator Author

Oh - we must have had a race condition in that I ran my CI before that got pushed. Thanks for the context. I am thinking that I would prefer to patch fix this instead of revert, right now.

emersonknapp pushed a commit that referenced this pull request Apr 1, 2021
Change introduced by ros2/rclpy#741 conflicted with parallel work in #702, the combination causing nightly test failure for `rosbag2_py`'s `_transport.cpp` tests. Fix to use the new `py::object` for `rmw_qos_profile_t` to fix the tests.

Signed-off-by: Emerson Knapp <[email protected]>
emersonknapp pushed a commit that referenced this pull request Apr 1, 2021
Change introduced by ros2/rclpy#741 conflicted with parallel work in #702, the combination causing nightly test failure for `rosbag2_py`'s `_transport.cpp` tests. Fix to use the new `py::object` for `rmw_qos_profile_t` to fix the tests.

Signed-off-by: Emerson Knapp <[email protected]>
emersonknapp added a commit that referenced this pull request Apr 1, 2021
* Fix rosbag2_py transport test for py capsule

Change introduced by ros2/rclpy#741 conflicted with parallel work in #702, the combination causing nightly test failure for `rosbag2_py`'s `_transport.cpp` tests. Fix to use the new `py::object` for `rmw_qos_profile_t` to fix the tests.

Signed-off-by: Emerson Knapp <[email protected]>
Kettenhoax pushed a commit to Kettenhoax/rosbag2 that referenced this pull request Apr 9, 2021
* Fix rosbag2_py transport test for py capsule

Change introduced by ros2/rclpy#741 conflicted with parallel work in ros2#702, the combination causing nightly test failure for `rosbag2_py`'s `_transport.cpp` tests. Fix to use the new `py::object` for `rmw_qos_profile_t` to fix the tests.

Signed-off-by: Emerson Knapp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants