-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to read binary format pcds #30
Comments
I have the same problem. If the .pcd file have |
So, my problem was that I had used the |
@TheLaas def parse_header(lines): |
@TheLaas Could oyu please tell me how and where did you edit the code? I do No t know how to do this .. |
I have the same question. Could you have the answer to this question? |
If I remember correctly I didn't change the code, I made a script that changed the output-files from |
def parse_header(lines):
""" Parse header of PCD files. """
metadata = {}
for ln in lines:
if ln.startswith('#') or len(ln) < 2: continue
ln = ln.replace('_','s',1)
ln = ln.replace('_','m',1)
print(ln)
match = re.match('(\w+)\s+([\w\s.]+)', str(ln)) I think this is an addition to the above section, although it may have been resolved. Lines 77 to 84 in 20b032b
|
@dimatura , Thanks for putting together an amazing support for reading point cloud data in python. PCD is a widely used extension in the CV community. I was trying to leverage pypcd support to read a binary pcd but was unsuccessful in all my attempts. Can you please guide me on how to fix this issue to be able to read the pcd info ( binary/ascii ) successfully.
Attaching for reference of the error i had been receiving:
FYI: I was just using
where abc.pcd was a binary format pcd.
The text was updated successfully, but these errors were encountered: