Repository navigation
Workaround for #1785 - #1794
Workaround for #1785#1794gleichdick wants to merge 1 commit into
Conversation
Reorder tf2 includes, workaround for moveit#1785. tf2_eigen.h and tf2_geometry_msgs.h have to be included before convert.h so that tf2::convert picks the non-templated fromMsg overloads instead of a forward declared template.
|
Does this patch require the geometry2 pull-request or is it a workaround for it? I'd support only the latter one. |
|
To compile moveit with latest geometry2 melodic-devel branch, both packages need to reorder their headers (as I did in both PRs). The reason is a templated declaration (not definition) of |
rhaschke
left a comment
There was a problem hiding this comment.
We should not rely on a specific ordering of include headers.
If there is a bug in tf2, it should be fixed there. Hopefully @kejxu, the original author of ros/geometry2#367, can help.
thanks much for the redirection; however, would really appreciate it if there could be more information. What exactly is the bug? Does ros/geometry2#367 cause any build break in tf2 by itself? |
|
read through ros/geometry2#430, ros/geometry2#431, and #1785. @gleichdick, thanks a lot for the amount of time and effort invested in this issue! Agree on the conclusion that the root cause is around the use of C++ templates (#1785 (comment)), and a proper fix (instead of workarounds) will be to correct those usages altogether. The objective of ros/geometry2#367 was to fix the MSVC build with a small yet precise change, apologies for introducing build breaks in its downstream project (moveit). Would hope that @gleichdick could helped on ros/geometry2#430 to get the current changes merged into tf2. |
|
So, I proposed a solution in ros/geometry2#433, any comments are welcome 😄 |
|
Closing here. Should be fixed via ros/geometry2#430 or ros/geometry2#433. |
* Require vel/accel limits for TOTG * Comment improvements Co-authored-by: Sebastian Jahr <[email protected]> Co-authored-by: Sebastian Jahr <[email protected]>
Description
Reordered tf2 header includes, workaround for #1785. Needs ros/geometry2#431 applied to geometry2 package
Checklist