Open Scyten opened 2 years ago
Have you tried including pcl_ros/impl/transforms.hpp
? That's where the implementation is
I had included this file, but it does not changed anything. Same error. My work arround: I copied the function into my file and this works. Normaly this should not be necessary. :)
Ok, I tried again, now it compiles. I was sure that I have tested it. Thank you!
Why isn´t pcl_ros/transforms.h enough?
@Scyten pcl_ros/transforms.h
only contains the declaration of the templated function. pcl_ros/impl/transforms.hpp
contains the implementation. If the implementation is available to your compiler, it can instantiate it with any point type.
Hi Community, I have an issue using this function
If I use it with a "standard" pointT-type it works fine. If I use my own datatype it compiles, but I get undefined reference to the function above (pcl_ros::transformPointCloud) while linking.
PCL requires
#define PCL_NO_PRECOMPILE
to work with new point types (https://pointclouds.org/documentation/tutorials/adding_custom_ptype.html)My pointT is
Is this define used by ros_pcl? Has someone tested new pointTypes with ros_pcl?