Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Proposal: add TestBaseVCI support to python-can

未关闭
#2,043 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
python

调研方向

首先检查现有的、单独分发的 hrcan 后端和 HRCANBus,然后检查用于注册的 can.interfaces.BACKENDS 入口点。确认 TestBaseVCI SDK 和驱动程序的假设如何与 python-can 相匹配,并确定所提议的适配器支持 CAN/CAN FD,且不会影响其他设备的用户。

由索引模型根据 Issue 内容生成。

描述

enhancement

Hi maintainers,

We are a company that develops CAN bus communication and simulation products, and I'd like to ask whether support for our TestBaseVCI CAN / CAN FD hardware could be accepted in python-can.

We already have a working backend for it, and it has been used for quite a while as a separately distributed extension. The current backend name is hrcan, with bus class HRCANBus.

Current status:

  • supports classic CAN and CAN FD
  • has been used in practice for a long time
  • currently installed manually by copying files into the Python environment and registering it in can.interfaces.BACKENDS

Environment:

  • Windows 10 / 11
  • Ubuntu 20 / 22
  • 64-bit Python
  • TestBaseVCI driver >= 2.4.1
  • currently used with python-can 4.5.0

Supported features:

  • start CAN / CAN FD channels with different bus parameters
  • send / receive single frames
  • periodic transmission, with manual and logger-based receive flows
  • multi-device support
  • multi-process support
  • unified timestamp behavior

A few notes before I prepare a PR:

  • I will only submit the Python-layer adapter code to python-can
  • if a user wants to use our hardware but has not installed the SDK / device driver, I can provide a public SDK download link and a clear text reminder
  • I will make sure that if users do not use our device, this support will not affect any existing python-can functionality

If this direction looks okay, I'm happy to clean it up and prepare a PR. I'd also appreciate any suggestions before I start.

Thanks.

主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hardbyte/python-can 的其他 Issue

查看 hardbyte/python-can 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。