pcl icon indicating copy to clipboard operation
pcl copied to clipboard

PCLVisualizer Coordinate System

Open FeiSong123 opened this issue 2 years ago • 1 comments

I am new in PCL and I have a question on PCLVisualizer. I use realsense device to generate pointCloud whose X positive is right, Y positive is down, but when I show it to PCLVisualizer, it seems like that X is reversed. I have tried to use addCoordinateSystem (double scale, const Eigen::Affine3f& t, int viewport), but it seemed like that only coordinate axis were changed and coordinate system unchanged.How can I change it ?

FeiSong123 avatar Aug 11 '22 02:08 FeiSong123

You probably just have to flip/mirror the cloud with regard to the x-axis, e.g. with transformPointCloud

mvieth avatar Aug 11 '22 07:08 mvieth

I don't want to change my pointCloud's coordinate system but to change PCLVisualizer's, is there any way?

FeiSong123 avatar Aug 11 '22 09:08 FeiSong123

If I understood your question correctly, there is no other way than to flip/mirror the cloud, but you can try asking on Stackoverflow or the Discord community chat

mvieth avatar Aug 11 '22 09:08 mvieth