-
Notifications
You must be signed in to change notification settings - Fork 54
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
Upstream changes from iit-danieli-joint-lab/abb_libegm fork #70
Comments
Hi @gavanderhoorn , we are definitely interested in providing the fix upstream, especially because that would reduce the maintenance effort for us in the long term.
Most of those are just earlier versions of #63 , so I think there is not a lot to port.
This is probably the most important and under some aspects non-trivial change. As soon as it is clear that C++98 compatibility can be dropped, I would be happy to provide the PRs to migrate away from boost. Note that if you want to avoid Boost completely we need at least do depend on standalone Asio and this may be desirable or not depending on the use case. Relevant commits (pay attention as we have also subsequent bug fixes not squashed):
Yes, there are some strange issues on the location of protobuf generated files with recent protobuf and CMAke versions, probably setting up a CI job that consumes dependencies from vcpkg is the best way to highlight those issues (see iit-danieli-joint-lab@f80b8b1).
Those are a bit tricky, because you need to define how to handle the code generation with an external protoc, and unfortunately probably this requires changes in the |
We're currently targetting Kinetic and Melodic, mostly, here. Kinetic allows to set the minimum level of C++ to We have no (and don't state any) requirement to be @jontje ? |
There is no such requirement.
I would be glad to see those changes; I have had that on my agenda for years, but no time for it 😄 @traversaro can you provide link(s) to the changes? I just want to skim through them. |
There are links to the relevant commit in the issue #70 (comment) , if you tell us what are the changes you are first interested in we can prepare clean PRs/patches . |
@traversaro: the Windows build related changes may be easiest / most stand-alone? |
As far as I remember the Windows-related changes are due to the use of a newer protobuf (3.11) installed by vcpkg, see iit-danieli-joint-lab#2 . Interestingly, currently Debian sid and Ubuntu 20.04 still ship protobuf 3.6, so even on 20.04 you will not experience the issue. I would be happy to start tackling those one, but without having a CI that covers the Windows compilation while installing dependencies with vcpkg it would be quite easy to have regression. I would be happy to add a new GitHub Actions based CI for covering the vcpkg case, but that is yes another thing to maintain so let me know if you are interested in it or not. |
Regarding the code changes, then I think it would be reasonable to do it in this order:
|
@traversaro: would what @jontje suggests be acceptable? |
Totally! Recent events here in Italy kind of changed our workplan, but I think we can start with a PR removing the boost::math depending relatively soon. |
Of course, there is no hurry. Some things are more important. |
First related PR: #91 . |
Second related PR: #102 . |
Third PR: #103 . |
@traversaro et al.: your fork appears to have some interesting changes that may be good to upstream.
Things that caught my eye:
s/Boost/std/g
and a few others.
Would you be interested in submitting some of that as PRs here?
The text was updated successfully, but these errors were encountered: