-
Notifications
You must be signed in to change notification settings - Fork 324
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 usage of visibility macros #1039
Conversation
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 :D
I see the format problem, I will fix them tomorrow. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1039 +/- ##
===========================================
+ Coverage 47.71% 72.41% +24.69%
===========================================
Files 41 41
Lines 3871 3639 -232
Branches 1833 1782 -51
===========================================
+ Hits 1847 2635 +788
+ Misses 751 691 -60
+ Partials 1273 313 -960
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
I'd be happy to hear if you have the framework compiling/running again on Windows. Do you have experience with Windows CI workflows? should be possible now with github. if you want to keep it working for windows a CI workflow would be beneficial..
Sure! At the moment we are trying to get something to work at RoboStack/ros-humble#137, but I am not sure if we will be able to converge soon.
At a first glance, the biggest blocker would be to understand if there is any binary distribution for ROS Rolling packages on Windows. For sure we do not have that at RoboStack, but perhaps the official binaries can be used for this, but I do not have a lot of experience with those. |
Just to chime in - I am hoping to get a student to work on RoboStack this semester, and one of the items on the list for them would be to distribute rolling in RoboStack .. |
Dear @traversaro thanks a lot for this nice addition. |
The format stage is at odds with itself locally vs on the CI. |
I just ran locally the command |
Done! I also rebased on top of latest master, let me know if you prefer that I squash the commit or no. |
af85fd4
to
f5382c9
Compare
No need for squash as we do that anyways for merging. |
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
While working on getting the repo to compile on Windows, I noticed some inconsistencies in the use of visibility macros in this repo:
tricycle_steering_controller
, the wrong export macro was used.For what regards the first point, note that in general there is no need to define anything, it is possible to use the
<libraryName>_EXPORTS
macro automatically defined by CMake, see https://cmake.org/cmake/help/latest/prop_tgt/DEFINE_SYMBOL.html . However, this style of manually defining macros is widespread across ROS, so it is out of scope cleaning this.colcon test
andpre-commit run
(requires you to install pre-commit bypip3 install pre-commit
)