Skip to content
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

Multiple errors while trying to convert binary pcd file #38

Open
boazMgm opened this issue Feb 21, 2023 · 1 comment
Open

Multiple errors while trying to convert binary pcd file #38

boazMgm opened this issue Feb 21, 2023 · 1 comment

Comments

@boazMgm
Copy link

boazMgm commented Feb 21, 2023

Hi,
I'm using Pypcd version 0.1.1 and python 3.8.10
I'm getting multiple errors while trying to parse binary pcd file (Nuscenes).
the one I'm stuck on right now is in line 282:
if ln.startswith('DATA'):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str

The code should understand if this is binary or ascii. Is there a solution or a different version that works?
btw, just changing to (b'DATA') will create an error in a different place.

Thanks

@joelosw
Copy link

joelosw commented Mar 20, 2023

Hi, since this project seems to be inactive I forked it and started to improve some things.
You can find it here: pypcd-imp or install it right away via pip install pypcd_imp.
If the issue is still present there feel free to reopen it in my repo and I will try to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants