Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Inconsistent depth calculation when parsing sample data from Dive Gear X

Đang mở
#91 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
c
Lĩnh vực
data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
126
Fork
116
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
13

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của subsurface/libdc

Tất cả issue của subsurface/libdc

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.