Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Multiple errors while trying to convert binary pcd file #38

@boazMgm

Description

@boazMgm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions