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(velodyne): allow setup_sensor False #75

Merged
merged 2 commits into from
Oct 2, 2023
Merged

Conversation

amc-nu
Copy link
Contributor

@amc-nu amc-nu commented Sep 14, 2023

PR Type

  • Bug Fix

Description

Allows Velodyne sensors to use sensor_setup:=False regardless of the launch and sensor setup.

Fixes #53

Review Procedure

Launch
ros2 launch nebula_ros velodyne_launch_all_hw.xml sensor_model:=SENSOR setup_sensor:=False

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: amc-nu <abraham.monrroy@gmail.com>
@amc-nu amc-nu requested a review from drwnz September 14, 2023 02:25
@amc-nu amc-nu changed the title fix(velodyne): Allow setup_sensor False fix(velodyne): allow setup_sensor False Sep 14, 2023
@codecov-commenter
Copy link

codecov-commenter commented Sep 14, 2023

Codecov Report

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

Comparison is base (99d3560) 9.93% compared to head (564218e) 7.47%.

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

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #75      +/-   ##
========================================
- Coverage   9.93%   7.47%   -2.47%     
========================================
  Files        118      37      -81     
  Lines      10147    6825    -3322     
  Branches    1533    1137     -396     
========================================
- Hits        1008     510     -498     
+ Misses      8034    5375    -2659     
+ Partials    1105     940     -165     
Flag Coverage Δ
differential 7.47% <0.00%> (?)
total ?

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

Files Coverage Δ
...a_velodyne_hw_interfaces/velodyne_hw_interface.cpp 0.00% <ø> (ø)
...src/velodyne/velodyne_hw_interface_ros_wrapper.cpp 0.00% <0.00%> (ø)

... and 81 files with indirect coverage changes

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

Copy link
Collaborator

@mebasoglu mebasoglu left a comment

Choose a reason for hiding this comment

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

Hello, I tested it with a VLP-16 and it works. Thank you!

@amc-nu amc-nu merged commit 3cee32f into main Oct 2, 2023
7 checks passed
@amc-nu amc-nu deleted the velodyne-setup-sensor branch October 2, 2023 07:57
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.

[velodyne_hw_ros_wrapper] dies when "setup_sensor" is false
3 participants