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

Add rosbag processing service #175

Merged
merged 35 commits into from
Feb 23, 2024
Merged

Add rosbag processing service #175

merged 35 commits into from
Feb 23, 2024

Conversation

adev4a
Copy link
Collaborator

@adev4a adev4a commented Feb 7, 2024

PR Details

This PR adds an additional service to the telematics tool to parse and rosbags and push the deserialized data to a configured influxdb bucket. Requests to process the rosbag are received from the telematics web ui through NATS.
The service is configured with the required authentication parameters to influxdb, nats url and the directory where the rosbags will be stored.
When the service is launched in AWS EC2, the configured directory to read from will be the mounted S3 volume. On a local deployment, the parameter will be set to the directory where the web-ui is uploading the rosbag.

The service also requires connecting to a mysql database to update entries for each rosbag being processed. This functionality will be added as a separate enhancement. Currently TODO comments are added as placeholders.

Description

Related GitHub Issue

Related Jira Key

https://usdot-carma.atlassian.net/browse/WFD-503

Motivation and Context

How Has This Been Tested?

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@adev4a adev4a marked this pull request as draft February 7, 2024 15:07
@adev4a
Copy link
Collaborator Author

adev4a commented Feb 7, 2024

CI needs to be setup on this package once the implementation is complete

@adev4a adev4a changed the title Wfd 503 Add rosbag processing service Feb 12, 2024
@adev4a adev4a self-assigned this Feb 12, 2024
@adev4a adev4a marked this pull request as ready for review February 13, 2024 21:42
@adev4a adev4a requested a review from adamlm February 13, 2024 21:43
@adev4a
Copy link
Collaborator Author

adev4a commented Feb 16, 2024

image Can we rename this folder to be consistent?

Will do this as a last step so we don't lose tracking on the comments

@adev4a adev4a requested a review from adamlm February 16, 2024 17:25
adamlm
adamlm previously approved these changes Feb 16, 2024
dan-du-car
dan-du-car previously approved these changes Feb 16, 2024
* add rosbag2_processing_service to gha

* adjust python path for tests

* source rosbag2 for tests and add docker build

* temp add feature branch to test build

* corrected sonar properties path

* move source setup.bash

* tweak pytest command

* add pytest-env

* test

* min unit test

* fix test

* tweak path

* Check Path

* remove .env step

* try

* update tests

* update unit test

* test remove exprt

* try pytest

* Update sonar properties

* update sonar propeties

* update coverage file path

* add unit tests

---------

Co-authored-by: Anish <Anishdeva17@gmail.com>
adamlm
adamlm previously approved these changes Feb 22, 2024
@adev4a adev4a merged commit c6a6f60 into develop Feb 23, 2024
15 of 16 checks passed
@adev4a adev4a deleted the wfd-503 branch February 23, 2024 14:08
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.

4 participants