PointCloudLibrary / PointCloudLibrary/pcl
Handle decimal mark defined in locale
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
MeshLab uses the decimal mark defined in the locale (, or . for most countries) to read/write ASCII files, should PCL handle this instead of hardcoding . as the decimal mark?
For example if you open a PLY binary file with MeshLab and save it in ASCII format, the French locale makes MeshLab saves the file with , mark which makes the file un-readable by PCL.
This is part of the whole mess around PLY support (but this also happens with OBJ files).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the French-locale case described: have MeshLab save PLY and OBJ files in ASCII format, then try reading them with PCL. Inspect the PCL paths that read and write ASCII files and compare their handling of comma and period decimal marks; done means locale-produced files are readable without breaking standard ASCII files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100