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

feat: range param for hesai #121

Merged
merged 6 commits into from
Feb 28, 2024
Merged

feat: range param for hesai #121

merged 6 commits into from
Feb 28, 2024

Conversation

yukkysaito
Copy link
Collaborator

@yukkysaito yukkysaito commented Feb 22, 2024

PR Type

  • New Feature

Related Links

Description

The XT-32 has been tested and confirmed to work on the actual device.

Review Procedure

Remarks

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

  • Assign PR to reviewer

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • (Optional) Unit tests have been written for new behavior
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets

CI Checks

  • Build and test for PR: Required to pass before the merge.

Signed-off-by: Yukihiro Saito <[email protected]>
@yukkysaito yukkysaito changed the title Feat/range param for hesai feat:range param for hesai Feb 22, 2024
Copy link
Collaborator

@drwnz drwnz left a comment

Choose a reason for hiding this comment

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

LGTM!

@drwnz drwnz changed the title feat:range param for hesai feat: range param for hesai Feb 22, 2024
@yukkysaito
Copy link
Collaborator Author

@drwnz @amc-nu I didn't pass one test, is that ok?
image

Copy link
Contributor

@amc-nu amc-nu left a comment

Choose a reason for hiding this comment

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

The tests fail because the new parameter is not set, and these default to 0 in the min and max parameters.

Can you please add these two new parameters to the tests?

https://github.com/tier4/nebula/blob/main/nebula_tests/hesai/hesai_ros_decoder_test.cpp#L90

Signed-off-by: Yukihiro Saito <[email protected]>
Signed-off-by: Yukihiro Saito <[email protected]>
@yukkysaito
Copy link
Collaborator Author

@amc-nu It has not passed the test yet. I need help. 🙏

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 21.21212% with 26 lines in your changes are missing coverage. Please review.

Project coverage is 11.54%. Comparing base (76526ca) to head (4a03713).

Files Patch % Lines
nebula_ros/src/hesai/hesai_decoder_ros_wrapper.cpp 0.00% 14 Missing ⚠️
nebula_tests/hesai/hesai_ros_decoder_test.cpp 40.00% 0 Missing and 9 partials ⚠️
...s/nebula_decoders_hesai/decoders/hesai_decoder.hpp 25.00% 0 Missing and 3 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##            main     #121      +/-   ##
=========================================
+ Coverage   6.54%   11.54%   +4.99%     
=========================================
  Files        136       60      -76     
  Lines      10956     5623    -5333     
  Branches     859      814      -45     
=========================================
- Hits         717      649      -68     
+ Misses      9663     4410    -5253     
+ Partials     576      564      -12     
Flag Coverage Δ
differential 11.54% <21.21%> (?)
total ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@amc-nu amc-nu self-requested a review February 28, 2024 04:56
@amc-nu
Copy link
Contributor

amc-nu commented Feb 28, 2024

@yukkysaito Fixed in 4a03713

@yukkysaito yukkysaito merged commit 4651feb into main Feb 28, 2024
7 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.

4 participants