OpenDroneMap / OpenDroneMap/ODM
RTK altitude regex only matches integers
Open
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 1.3k
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 4
Description
Via this post,
File: opendm/video/srtparser.py
The current regex does not capture floating-point RTK altitude values:
("RTK ... (-?\d+)\)", ...)
Suggested fix:
(-?\d+\.?\d*)
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 in opendm/video/srtparser.py and inspect the RTK altitude regex shown in the issue. Update the matching behavior so signed floating-point altitude values are captured, then verify that integer and decimal RTK altitudes are both handled; an open linked pull request already addresses this issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100