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 摘要。