Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Inconsistent depth calculation when parsing sample data from Dive Gear X

Aperta
#91 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c
Ambito
data

Direzione di ricerca

Start with dc_device_foreach and the sample-depth path used by dc_sample_get_depth, then reproduce the issue using a dive log covering 10–25 meters from the named device. Compare the parsed values with the sensor readings and other device data; done means the 15–20 meter range has no unexplained ±2–3 meter jumps.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description:
When parsing sample data from the "Dive Gear X" dive computer (using dc_device_foreach and related functions), the calculated depth values show inconsistent jumps in certain depth ranges (e.g., between 15-20 meters). This does not occur with other dive computers like Shearwater or Suunto.

Steps to Reproduce:

Connect "Dive Gear X" dive computer via libdc.
Download a dive log with samples spanning 10-25 meters depth.
Observe the parsed depth values in the sample list (e.g., using dc_sample_get_depth).
Note sudden depth spikes/drops without corresponding sensor data.
Expected Behavior:
Depth values should increase/decrease smoothly based on the sensor readings, without unnatural jumps.

Actual Behavior:
Depth values intermittently jump by ±2-3 meters in the 15-20m range, even when the dive profile is stable.

Lingua principale
C
Stelle
126
Fork
116
Merge medio
2g 13h
PR unite (30g)
13

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di subsurface/libdc

Tutte le issue di subsurface/libdc

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.