Skip to content

Conversation

@AnthonyCvn
Copy link
Member

@AnthonyCvn AnthonyCvn commented May 15, 2025

Closes #3

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

feature

What was changed?

Initial release of minimum recorder

Related issues

Documentation: reductstore/website#196

Does this PR introduce a breaking change?

No

Other information:

@AnthonyCvn AnthonyCvn linked an issue May 15, 2025 that may be closed by this pull request
@AnthonyCvn AnthonyCvn requested a review from Copilot May 27, 2025 05:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces an initial implementation of a minimum recording feature for ROS2 that records selected topics to ReductStore. Key changes include new tests for topic subscriptions, storage and SI unit parsing, a new Recorder node with MCAP-based message recording and pipeline configuration, and updates to project configuration and launch files.

Reviewed Changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.

File Description
test/* Unit tests added for topic subscriptions, storage operations, SI parsing, and recorder state management.
ros2_reduct_agent/recorder.py New Recorder node implementation including pipeline management and MCAP writer integration.
ros2_reduct_agent/config_models.py New configuration models and SI unit parsing validations for storage and pipelines.
setup.py, launch files, README.md, CI configs Miscellaneous project configuration updates and documentation improvements.
Comments suppressed due to low confidence (1)

test/test_recorder_state.py:43

  • [nitpick] The magic number '203' used to calculate the expected size is unclear; consider documenting its origin or replacing it with a named constant to improve clarity.
assert low_chunk_recorder.pipeline_states["timer_test_topic"].current_size == 5 * (size_kb * 1024 + 203)

@atimin
Copy link
Member

atimin commented May 27, 2025

@AnthonyCvn , very impressive work! Few comments from my side. I think some of them are separate tasks.

@AnthonyCvn AnthonyCvn merged commit fbce391 into main May 28, 2025
3 checks passed
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.

Minimum recording implementation

3 participants