You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Player and Recorder Composable (#902) (#1419)
* Squasgh to ease rebase
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Remove TODO for keyboard handlers
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Change structure
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fix
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fix
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* QoS parsing
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fix
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Uncrustify
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Draft comparison of passed vs parsed params
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fix shared_from_this() issue, param file & paths
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fixes after rebase
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fixes to handle durations
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Better test output
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Drafting record param test
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fixing recorder issues
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fixes
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Draft component load test
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Composition tests working
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Uncrustify
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Cpplint
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Cpplint
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fix play_offset bug
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fix storage defaults bug
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Get rid of temporal conversion crutches using map<string, Rosbag2QoS>
Signed-off-by: Michael Orlov <[email protected]>
* Use const ref to node in the options getter functions
- Also made a style clean up in getter functions
Signed-off-by: Michael Orlov <[email protected]>
* Cleanups in get_storage(/play/record)_options functions
Signed-off-by: Michael Orlov <[email protected]>
* Move RosBag2RecordTestFixture insight test_record_params.cpp
Signed-off-by: Michael Orlov <[email protected]>
* Rename overrides.yaml to the qos_profile_overrides.yaml file
Signed-off-by: Michael Orlov <[email protected]>
* Rename params_player.yaml to the player_node_params.yaml
Signed-off-by: Michael Orlov <[email protected]>
* Rename params_recorder.yaml to the recorder_node_params.yaml
Signed-off-by: Michael Orlov <[email protected]>
* Replace Rosbag2Duration by rclcpp::Duration
Signed-off-by: Michael Orlov <[email protected]>
* Cleanup in functions which are getting values from node parameters
- Address issues in duration and integer parameters conversion
- Introduce `declare_integer_node_params(..)` and
`get_duration_from_node_param(..)` helper functions
Signed-off-by: Michael Orlov <[email protected]>
* Bugfix. Adjust min-max ranges for get_duration_from_node_param(..)
- Also add expected range to the exception message
Signed-off-by: Michael Orlov <[email protected]>
* Initial comparisons
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Move component manager in fixture
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Uncrustify
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Remove residual AMENT_DEPS after merge
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Complete test_play_params
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Finish param tests
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Uncrustify
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Cleanups in player/recorder parameters and load components tests
Signed-off-by: Michael Orlov <[email protected]>
* Renames in player/recorder parameters and load components tests
Signed-off-by: Michael Orlov <[email protected]>
* Namespaced parameters
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Fix load_composable_components test
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Automatically start playback in "composable" Player constructor
- Added doxygen comments for Player's constructors
Signed-off-by: Michael Orlov <[email protected]>
* Add integration test for composable player
- Integration test will check that player can automatically play file
after composition
Signed-off-by: Michael Orlov <[email protected]>
* Add missing dependencies to the mock_player.hpp
Signed-off-by: Michael Orlov <[email protected]>
* Automatically start recording in "composable" Recorder constructor
- Added doxygen comments for Recorder's constructors
Signed-off-by: Michael Orlov <[email protected]>
* Adopt existent tests for auto starting recording after composition
- Add default "cdr" value for rmw_serialization_format node parameter
Signed-off-by: Michael Orlov <[email protected]>
* Add integration test for composable recorder
- Test verify that recorder can automatically start recording after
composition and record messages
Signed-off-by: Michael Orlov <[email protected]>
* Add missed parameters prefixes after rebase
Signed-off-by: Michael Orlov <[email protected]>
* Fix for failing test with wrong check for playback_until_timestamp
Signed-off-by: Michael Orlov <[email protected]>
* Fix for failing tests with wrong parameters deduction
- Adjust max bagfile size and duration due to the bug in the
rc_yaml_param_parcer/parser.c
Need to use srtoll() instead of the strol() in parser
Signed-off-by: Michael Orlov <[email protected]>
* Close recorder before trying to delete temp files on test destruction
Signed-off-by: Michael Orlov <[email protected]>
* Update rosbag2_transport/test/rosbag2_transport/composition_manager_test_fixture.hpp
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Update rosbag2_transport/test/rosbag2_transport/test_composable_recorder.cpp
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Update rosbag2_transport/CMakeLists.txt
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Update rosbag2_transport/CMakeLists.txt
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Address warnings from Windows CI job in composable player and recorder
Signed-off-by: Michael Orlov <[email protected]>
* Update rosbag2_transport/src/rosbag2_transport/config_options_from_node_params.cpp
Co-authored-by: Michael Orlov <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
* Update rosbag2_transport/test/rosbag2_transport/test_composable_player.cpp
Co-authored-by: Michael Orlov <[email protected]>
Signed-off-by: Patrick Roncagliolo <[email protected]>
---------
Signed-off-by: Patrick Roncagliolo <[email protected]>
Signed-off-by: roncapat <[email protected]>
Signed-off-by: Michael Orlov <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>
0 commit comments