Add support for complex channel names in ASC files

未關閉
#1,860 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
data

研究方向

從 ASC reader 開始,檢查哪些地方要求通道值為整數。使用通道名稱 Li 重現所提供的 ASC 訊息;當這類訊息能夠被解析而不是被跳過,並且對複雜通道名稱具有適當的涵蓋時,工作就完成了。

由索引模型根據 Issue 內容生成。

描述

enhancement
Is your feature request related to a problem? Please describe.

We encountered an ASC file that contains channels names like Li:

  42.017364 Li 14              Rx     8 2a 79 00 00 00 80 c0 ff  checksum = 07   header time =  40, full time = 135  SOF =   42.010348   BR = 19200  break = 942203 109234   EOH =   42.012418    EOB =   42.012979    42.013527    42.014075    42.014623    42.015172    42.015720    42.016268    42.016816    sim = 0    EOF =   42.017364   RBR = 19157  HBR = 19202.640363  HSO = 22785     RSO = 22837     CSM = enhanced

The current ASC reader fails to parse these files, i.e. it skips these messages because channel has to be an int.

Describe the solution you'd like

Would it be possible to enhance the ASC reader to deal with the complex channel names?

主要語言
Python
星號
1.6k
分支
715
平均合併
2 天 4 小時
30 天內合併 PR
42

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

hardbyte/python-can 的其他 Issue

查看 hardbyte/python-can 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。