-
Notifications
You must be signed in to change notification settings - Fork 327
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 a broadcaster for range sensor #725
add a broadcaster for range sensor #725
Conversation
Please check the results from the CI. The format stage is failing, you need to run |
The compilation is also not working because of the requirement to ros2_control
|
About the conversion warning, I don't get them for the range_sensor_broadcaster |
Well let's start at the compilation first. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #725 +/- ##
==========================================
- Coverage 35.78% 30.88% -4.90%
==========================================
Files 189 7 -182
Lines 17570 832 -16738
Branches 11592 505 -11087
==========================================
- Hits 6287 257 -6030
+ Misses 994 133 -861
+ Partials 10289 442 -9847
Flags with carried forward coverage won't be shown. Click here to find out more. |
…o delete some tests
I think everything should be set now ;) |
Nice, compiling and testing worked! |
range_sensor_broadcaster/test/test_range_sensor_broadcaster.cpp
Outdated
Show resolved
Hide resolved
range_sensor_broadcaster/test/test_range_sensor_broadcaster.cpp
Outdated
Show resolved
Hide resolved
range_sensor_broadcaster/test/test_range_sensor_broadcaster.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't notice the load controller test here. Would you mind adding that too? Just copy it from any controller
Co-authored-by: Bence Magyar <[email protected]>
Load test as been added and all test are passing in my workspace |
Is there anything more I should do? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for sticking through the review, will wait for the CI to turn green and merge it!
I'll also backport this PR to humble
(cherry picked from commit 5b86e3c)
And I already got a notification of a warning in the docs ;) |
Hello!
I have been working on a broadcaster for Range sensors.
Here is a Pull Request to integrate it!
In the file ros2_controllers/range_sensor_broadcaster/include/range_sensor_broadcaster/range_sensor_broadcaster.hpp I have not put my name since I basically just change IMU with Range.. Is this ok or should I put my name on it?
I have prepared the following file ros2_control/controller_interface/include/semantic_components/range_sensor.hpp
on my fork https://github.com/flochre/ros2_control/blob/feature/add-range-sensor-broadcast/controller_interface/include/semantic_components/range_sensor.hpp - Should I already make a pull request by ros2_control?
Thanks in advance,
Cheers!
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
To send us a pull request, please:
colcon test
andpre-commit run
(requires you to install pre-commit bypip3 install pre-commit
)