Closed gleichdick closed 3 years ago
Thank you for your reply, I removed the override
specifier so that it compiles with kinetic and melodic. I didn't check it before, my bad. Please be aware that it breaks the ABI (because a new virtual method is added to a public class) in kinetic and melodic.
So there are multiple solutions:
moveit_core_VERSION
and set a flag as you suggestedinitialize()
with CMake try_compile
and set a flagThe drawback of a flag is that it has to stay until support for kinetic and melodic has been dropped and that it will be also present in third party code (which e.g. includes filter_base.h
)
I'm happy implementing options 2 or 3 but IMHO the first option might be the best.
Regards,
Bjarne
I believe approach 2
was included in #258, so this should now work again.
PlanningRequestAdapter::initialize() is now pure virtual so we have to provide an empty implementation on each PlanningRequestAdapter subclass.
See also ros-planning/moveit#1621
Please be careful whether this patch breaks backward compatibility with older moveit builds ( where a virtual initialize() method is implemented and not pure virtual)