-
Notifications
You must be signed in to change notification settings - Fork 172
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
Update KDL SegmentMap interface to use shared pointers #5
Conversation
@jensenb I don't think this can be released into hydro until the updated version of In order to merge this now, I would want to see a backwards compatible change, potentially using Also, if this will only work with newer versions then this package (or |
Yes the I opened this change request so that:
I don't know how much code uses KDL, but I think it would be cleaner and much more maintainable if only one API version was supported. Once the KDL guys have decided how they want to handle the problem and committed the change with proper version info, then the development branch could just switch to the new version using this change. I mean, does the devel branch and do future releases of I would hold on on this change until the KDL team decides what to do about the problem. |
I agree that we wait to see what the Orocos developers do, please ping back here when there is progress, otherwise it will likely fall through the cracks. |
The KDL Tree API optionally uses shared pointers on platforms where the STL containers don't support incomplete types.
Updated this PR to reflect the newest changes in the upstream pull request. |
I completely forgot to check up on the PR, is there anything holding this back currently from being merged into hydo-devel and indigo-devel? |
bump EDIT: The bump is about getting these changes released into hydro/indigo in a coordinatd fashion: ros/robot_model#43, #5, #4, #19 |
Now that orocos_kdl has been re-released (https://github.com/smits/orocos-kdl-release) including the patch that this PR depends on, can we merge this, forward-port the patch to indigo, and then possibly some time get a hydro and an indigo release? |
Same comment here as with ros/robot_model#43, @isucan I can do this for you if you're ok with the change. |
Update KDL SegmentMap interface to use shared pointers
Thanks @wjwwood ! |
* Windows bringup. * remove STATIC and binplace to correct location. (#2) * add space after if keyword (#3) * update install destinations (#4) * update install destinations * remove ARCHIVE and LIBRARY deestinations * only add -Wall if using MSVC (#5) * always add -Wall -Wextra flags * only add -Wall if using MSVC * separate out compiler flag change
This is a dependent change for the orocos KDL API modification discussed in: orocos/orocos_kinematics_dynamics#4
To summarize the KDL API used incomplete type definitions in STL containers, which is undefined behaviour according the c++ standard. As it was, GCC / libstc++ handles this behaviour with problems; however, on systems with clang/libc++ using incomplete type definitions in STL containers results in compilation errors. Instead a solution involving shared pointers has been proposed. More rational the change is discussed in the upstream pull request.
The upstream pull request is necessary for this change to be merged.