Skip to content
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

Make Player and Recorder Composable (#902) #1419

Merged
merged 62 commits into from
Dec 11, 2023
Merged

Commits on Nov 14, 2023

  1. Squasgh to ease rebase

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f50821d View commit details
    Browse the repository at this point in the history
  2. Remove TODO for keyboard handlers

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    a08c5d1 View commit details
    Browse the repository at this point in the history
  3. Change structure

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    26ecb08 View commit details
    Browse the repository at this point in the history
  4. Fix

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    c89ce76 View commit details
    Browse the repository at this point in the history
  5. Fix

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    2ada177 View commit details
    Browse the repository at this point in the history
  6. QoS parsing

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    2c80a2a View commit details
    Browse the repository at this point in the history
  7. Fix

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    3d7f98d View commit details
    Browse the repository at this point in the history
  8. Uncrustify

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f1e0340 View commit details
    Browse the repository at this point in the history
  9. Draft comparison of passed vs parsed params

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    1899416 View commit details
    Browse the repository at this point in the history
  10. Fix shared_from_this() issue, param file & paths

    Signed-off-by: roncapat <ronca.pat@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    ee37afc View commit details
    Browse the repository at this point in the history
  11. Fixes after rebase

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    863ab6b View commit details
    Browse the repository at this point in the history
  12. Fixes to handle durations

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    4e65cf0 View commit details
    Browse the repository at this point in the history
  13. Better test output

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    874d60d View commit details
    Browse the repository at this point in the history
  14. Drafting record param test

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    9f31e3c View commit details
    Browse the repository at this point in the history
  15. Fixing recorder issues

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    52495f8 View commit details
    Browse the repository at this point in the history
  16. Fixes

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    645b985 View commit details
    Browse the repository at this point in the history
  17. Draft component load test

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6287cd6 View commit details
    Browse the repository at this point in the history
  18. Composition tests working

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0aa4cd5 View commit details
    Browse the repository at this point in the history
  19. Uncrustify

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    68bfcb4 View commit details
    Browse the repository at this point in the history
  20. Cpplint

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    95c9d13 View commit details
    Browse the repository at this point in the history
  21. Cpplint

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0205966 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Fix play_offset bug

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    edbb544 View commit details
    Browse the repository at this point in the history
  2. Fix storage defaults bug

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    490dc48 View commit details
    Browse the repository at this point in the history
  3. Get rid of temporal conversion crutches using map<string, Rosbag2QoS>

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    21399f2 View commit details
    Browse the repository at this point in the history
  4. Use const ref to node in the options getter functions

    - Also made a style clean up in getter functions
    
    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    50f0755 View commit details
    Browse the repository at this point in the history
  5. Cleanups in get_storage(/play/record)_options functions

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    30b1699 View commit details
    Browse the repository at this point in the history
  6. Move RosBag2RecordTestFixture insight test_record_params.cpp

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    cfeb0bb View commit details
    Browse the repository at this point in the history
  7. Rename overrides.yaml to the qos_profile_overrides.yaml file

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    571a25e View commit details
    Browse the repository at this point in the history
  8. Rename params_player.yaml to the player_node_params.yaml

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    2aa2f8d View commit details
    Browse the repository at this point in the history
  9. Rename params_recorder.yaml to the recorder_node_params.yaml

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    fa6e556 View commit details
    Browse the repository at this point in the history
  10. Replace Rosbag2Duration by rclcpp::Duration

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    2d4931c View commit details
    Browse the repository at this point in the history
  11. 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 <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    b493987 View commit details
    Browse the repository at this point in the history
  12. Bugfix. Adjust min-max ranges for get_duration_from_node_param(..)

    - Also add expected range to the exception message
    
    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    e98be6e View commit details
    Browse the repository at this point in the history
  13. Initial comparisons

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d396e3c View commit details
    Browse the repository at this point in the history
  14. Move component manager in fixture

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    e588657 View commit details
    Browse the repository at this point in the history
  15. Merge branch 'rolling' into patch-2

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    fa3eae7 View commit details
    Browse the repository at this point in the history
  16. Uncrustify

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    89b6736 View commit details
    Browse the repository at this point in the history
  17. Remove residual AMENT_DEPS after merge

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    2c70406 View commit details
    Browse the repository at this point in the history
  18. Complete test_play_params

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    95ab353 View commit details
    Browse the repository at this point in the history
  19. Finish param tests

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    913e49f View commit details
    Browse the repository at this point in the history
  20. Uncrustify

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    9756edd View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Cleanups in player/recorder parameters and load components tests

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    0e57485 View commit details
    Browse the repository at this point in the history
  2. Renames in player/recorder parameters and load components tests

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    0641884 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Namespaced parameters

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4e3f460 View commit details
    Browse the repository at this point in the history
  2. Fix load_composable_components test

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    04948e3 View commit details
    Browse the repository at this point in the history
  3. Automatically start playback in "composable" Player constructor

    - Added doxygen comments for Player's constructors
    
    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1e1d5c3 View commit details
    Browse the repository at this point in the history
  4. Add integration test for composable player

    - Integration test will check that player can automatically play file
    after composition
    
    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    786a08c View commit details
    Browse the repository at this point in the history
  5. Add missing dependencies to the mock_player.hpp

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    a611726 View commit details
    Browse the repository at this point in the history
  6. Automatically start recording in "composable" Recorder constructor

    - Added doxygen comments for Recorder's constructors
    
    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    37d7e29 View commit details
    Browse the repository at this point in the history
  7. Adopt existent tests for auto starting recording after composition

    - Add default "cdr" value for rmw_serialization_format node parameter
    
    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4da289e View commit details
    Browse the repository at this point in the history
  8. Add integration test for composable recorder

    - Test verify that recorder can automatically start recording after
    composition and record messages
    
    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    6192305 View commit details
    Browse the repository at this point in the history
  9. Add missed parameters prefixes after rebase

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    e89614c View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. Fix for failing test with wrong check for playback_until_timestamp

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    8c283b8 View commit details
    Browse the repository at this point in the history
  2. 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 <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    0d446e4 View commit details
    Browse the repository at this point in the history
  3. Close recorder before trying to delete temp files on test destruction

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    812d9da View commit details
    Browse the repository at this point in the history
  4. Update rosbag2_transport/test/rosbag2_transport/composition_manager_t…

    …est_fixture.hpp
    
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat authored Dec 9, 2023
    Configuration menu
    Copy the full SHA
    ee16b40 View commit details
    Browse the repository at this point in the history
  5. Update rosbag2_transport/test/rosbag2_transport/test_composable_recor…

    …der.cpp
    
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat authored Dec 9, 2023
    Configuration menu
    Copy the full SHA
    db3aa34 View commit details
    Browse the repository at this point in the history
  6. Update rosbag2_transport/CMakeLists.txt

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat authored Dec 9, 2023
    Configuration menu
    Copy the full SHA
    af07a04 View commit details
    Browse the repository at this point in the history
  7. Update rosbag2_transport/CMakeLists.txt

    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat authored Dec 9, 2023
    Configuration menu
    Copy the full SHA
    6f9bbe8 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Address warnings from Windows CI job in composable player and recorder

    Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
    MichaelOrlov authored and roncapat committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    723a7a8 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Update rosbag2_transport/src/rosbag2_transport/config_options_from_no…

    …de_params.cpp
    
    Co-authored-by: Michael Orlov <morlovmr@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat and MichaelOrlov authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    9110f65 View commit details
    Browse the repository at this point in the history
  2. Update rosbag2_transport/test/rosbag2_transport/test_composable_playe…

    …r.cpp
    
    Co-authored-by: Michael Orlov <morlovmr@gmail.com>
    Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
    roncapat and MichaelOrlov authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    8737b72 View commit details
    Browse the repository at this point in the history