OpenDroneMap / OpenDroneMap/ODM

RTK altitude regex only matches integers

Open
#1,992 1 comment 0 reactions 0 assignees View on GitHub

@kemaluzel is already working on this.

Since Feb 6, 2026.

  • #1994 by @kemaluzel — 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.