-
Notifications
You must be signed in to change notification settings - Fork 312
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
Semantic components cleanup #1940
Semantic components cleanup #1940
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1940 +/- ##
==========================================
+ Coverage 88.03% 88.07% +0.04%
==========================================
Files 121 121
Lines 13235 13225 -10
Branches 1193 1193
==========================================
- Hits 11651 11648 -3
+ Misses 1141 1139 -2
+ Partials 443 438 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
controller_interface/include/semantic_components/force_torque_sensor.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/force_torque_sensor.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/imu_sensor.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/imu_sensor.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/semantic_component_interface.hpp
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.
Generally looks pretty good. I'm not a huge fan of the {}
value initializers but they have their uses.
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.
In general LGTM.
I'm not a huge fan of the {} value initializers as @bmagyar. At some places it is fine, I added some suggestions to my taste.
Apart from the {} initializers, there are other changes
controller_interface/include/semantic_components/semantic_component_interface.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/semantic_component_interface.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/range_sensor.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/pose_sensor.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/imu_sensor.hpp
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.
@Wiktor-99 all the open review comments aren't addressed yet
@saikishor Sorry, I must have overlooked those unresolved comments. Now should be okay. |
controller_interface/include/semantic_components/semantic_component_interface.hpp
Outdated
Show resolved
Hide resolved
controller_interface/include/semantic_components/force_torque_sensor.hpp
Outdated
Show resolved
Hide resolved
No worries. |
…sensor.hpp Co-authored-by: Sai Kishor Kothakota <[email protected]>
…onent_interface.hpp Co-authored-by: Sai Kishor Kothakota <[email protected]>
@christophfroehlich do you know why the clang jobs are not starting properly here? |
FastCDR regression
don't ask me why clang complains while linking, and gcc doesn't |
Ahhh gotcha! |
@Wiktor-99 Thank you for fixing things around! |
controller_interface/include/semantic_components/semantic_component_interface.hpp
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.
LGTM
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.
Thx!
I was going to introduce a new semantic component (GPSSensor), but I noticed that the current implementation of semantic components has a few flaws. Therefore, I decided to prepare a small PR with minor fixes. All UTs are green.
Some of the changes I made: