Mini-3D-Scanner icon indicating copy to clipboard operation
Mini-3D-Scanner copied to clipboard

data is not writing into the ./data folder

Open SriGanesh130 opened this issue 5 years ago • 7 comments

when running roslaunch scanner pipeline.launch it is showing [pcl::PCDReader::readHeader]could not find the file '/home/.......'

SriGanesh130 avatar Sep 20 '18 09:09 SriGanesh130

I experienced the same error even when I changed the path to my own username

kunaala avatar Nov 09 '18 04:11 kunaala

There's a bunch of other paths hardcoded on: src/pcl_processing.cpp src/showRegResultOnline.cpp src/kinect2_emulator.cpp src/rotation_dir.cpp Change them and you should be good to go.

zkg avatar Nov 28 '18 04:11 zkg

Got the same problem even after changing the paths (you forgot to mention the path on "open3d_processing.py"). I even try to create "registerResult.pcd", but then the error becomes "no point to read". I feel like the python script don't have the access to write in registerResult.pcd (or even create if it's not done manually).

EDIT : To be more specific about the issue, I realised that the python script (open3d_processing.py) doesn't recognise py3d, I even tried to move to the folder where the library open3d is, but still py3d isn't recognised.

And by the way, even "from open3d import *" doesn't work, I get this error code

ImportError: /home/laer1/.local/lib/python3.5/site-packages/open3d/linux/open3d.so: wrong ELF class: ELFCLASS64

Which is, I guess, caused by me working on a 32-bit OS ?

mbouhallel avatar Jan 10 '19 14:01 mbouhallel

I was able to resolve the previous issue by using a 64-bit OS. But "scanner pipeline" is still not working. I'm pretty sure that it's because py3d isn't recognized by python (I can import open3d but not py3d), but I can't find an effective way to resolve this issue.

mbouhallel avatar Jan 18 '19 09:01 mbouhallel

There's a bunch of other paths hardcoded on: src/pcl_processing.cpp src/showRegResultOnline.cpp src/kinect2_emulator.cpp src/rotation_dir.cpp Change them and you should be good to go.

@zkg Thanks for the help. I know this is not elegant, but I hardcoded many paths then.

zjudmd1015 avatar Feb 07 '19 01:02 zjudmd1015

I was able to resolve the previous issue by using a 64-bit OS. But "scanner pipeline" is still not working. I'm pretty sure that it's because py3d isn't recognized by python (I can import open3d but not py3d), but I can't find an effective way to resolve this issue.

@mbouhallel It did take me lots of time to solve the dependency problem. An easy way is to explicitly add the lib path in your python script. Plus, the new version of Open3D probably have solved this dependency problem, please check it out.

zjudmd1015 avatar Feb 07 '19 01:02 zjudmd1015

Hi, I still am not able to resolve the 'could not find the file '/home/.......'' problem. I've changed the file directory specifications with my username. Can you please help me out? I've modified py3d to open3d as well. I'm not sure what to modify further to make it work.

roslaunch scanner pipeline.launch is just giving me '[pcl::PCDReader::readHeader] Could not find file '/home/venkatesh/catkin_ws/src/scanner/data/result/registerResult.pcd'.'

venkatesh71097 avatar Nov 06 '19 21:11 venkatesh71097