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

refactor(sensing-vehicle-velocity-converter): rework parameters #5609

Conversation

karishma1911
Copy link
Contributor

@karishma1911 karishma1911 commented Nov 16, 2023

Description

Implement the ROS Node configuration layout described in https://github.com/orgs/autowarefoundation/discussions/3371 for the vehicle_velocity_converter package.

  1. Remove the default value from the source code in order to ensure all parameter values are passed from the parameter files.
  2. Create the schema

Tests performed

Not applicable.

Effects on system behavior

Nothing.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Nov 16, 2023
@karishma1911 karishma1911 force-pushed the sensing-vehicle-velocity-converter branch from b640972 to a202acb Compare November 16, 2023 11:12
Copy link
Contributor

@RyuYamamoto RyuYamamoto left a comment

Choose a reason for hiding this comment

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

LGTM

@satoshi-ota satoshi-ota added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 23, 2023
@satoshi-ota satoshi-ota enabled auto-merge (squash) November 23, 2023 00:07
speed_scale_factor_ = declare_parameter("speed_scale_factor", 1.0);
stddev_vx_ = declare_parameter<double>("velocity_stddev_xx");
stddev_wz_ = declare_parameter<double>("angular_velocity_stddev_zz");
frame_id_ = declare_parameter<string>("frame_id");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
frame_id_ = declare_parameter<string>("frame_id");
frame_id_ = declare_parameter<std::string>("frame_id");

auto-merge was automatically disabled November 23, 2023 05:49

Head branch was pushed to by a user without write access

@karishma1911 karishma1911 force-pushed the sensing-vehicle-velocity-converter branch from 40470e7 to 3f6bb83 Compare November 23, 2023 05:50
Signed-off-by: karishma <karishma@interpl.ai>
Signed-off-by: karishma <karishma@interpl.ai>
@karishma1911 karishma1911 force-pushed the sensing-vehicle-velocity-converter branch from 3f6bb83 to 78c7504 Compare November 23, 2023 05:52
Copy link

codecov bot commented Nov 23, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (765a596) 15.32% compared to head (78c7504) 0.00%.
Report is 46 commits behind head on main.

Files Patch % Lines
...ocity_converter/src/vehicle_velocity_converter.cpp 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #5609       +/-   ##
==========================================
- Coverage   15.32%   0.00%   -15.33%     
==========================================
  Files        1721       3     -1718     
  Lines      118559      30   -118529     
  Branches    37995       0    -37995     
==========================================
- Hits        18169       0    -18169     
+ Misses      79657      30    -79627     
+ Partials    20733       0    -20733     
Flag Coverage Δ
differential 0.00% <0.00%> (?)
total ?

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@satoshi-ota satoshi-ota merged commit e3eb285 into autowarefoundation:main Nov 28, 2023
danielsanchezaran pushed a commit to tier4/autoware.universe that referenced this pull request Dec 15, 2023
…warefoundation#5609)

* sensing-vehicle-velocity-converter-module

Signed-off-by: karishma <karishma@interpl.ai>

* sensing-vehicle-velocity-converter

Signed-off-by: karishma <karishma@interpl.ai>

---------

Signed-off-by: karishma <karishma@interpl.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants