Create collision object from cylinder segmented using pcl::SACSegmentation
Based on this I get the radius, a point on the centerline of the cylinder and a direction vector for the centerline.
Now the location of the collision object is coming correctly but the orientation is not. I am not entirely certain what the dir vector represents? I tried various ways to get it to work but none of them seem to work. Any help greatly appreciated.
Thank you