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

fix(hesai_ros_wrapper): fix a bug where setting any parameter except return_mode during runtime fails #286

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

mojomex
Copy link
Collaborator

@mojomex mojomex commented Mar 5, 2025

PR Type

  • Bug Fix

Related Links

Description

Forgot a ! when rearranging parameter parsing in on_parameter_change, causing the set_parameter service call to fail on every parameter except return_mode.

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.

…return_mode during runtime fails

Signed-off-by: Max SCHMELLER <[email protected]>
@mojomex mojomex self-assigned this Mar 5, 2025
Copy link
Collaborator

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

codecov bot commented Mar 5, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 27.44%. Comparing base (c89e70c) to head (e61a0ee).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #286      +/-   ##
==========================================
- Coverage   30.23%   27.44%   -2.80%     
==========================================
  Files         112      112              
  Lines        9695     9486     -209     
  Branches     3653     2392    -1261     
==========================================
- Hits         2931     2603     -328     
- Misses       6224     6443     +219     
+ Partials      540      440     -100     
Flag Coverage Δ
differential 27.44% <0.00%> (?)
total ?

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

Components Coverage Δ
Common 18.37% <ø> (-31.87%) ⬇️
Hesai 29.69% <0.00%> (-0.72%) ⬇️
Velodyne 37.76% <ø> (+0.10%) ⬆️
Continental 28.06% <ø> (+0.07%) ⬆️
Robosense 0.00% <ø> (ø)

@mojomex mojomex merged commit 39fbbe7 into tier4:main Mar 5, 2025
12 of 16 checks passed
@mojomex mojomex deleted the fix/hesai-on_parameter_change branch March 5, 2025 06:14
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.

2 participants