Proposal: add TestBaseVCI support to python-can
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- python
- Domínio
- embedded-iot, networking
Direção de pesquisa
Comece revisando o backend hrcan existente e distribuído separadamente e o HRCANBus; em seguida, inspecione o entry point can.interfaces.BACKENDS usado para o registro. Confirme como as suposições do SDK TestBaseVCI e do driver se encaixam no python-can e estabeleça que o adaptador proposto oferece suporte a CAN/CAN FD sem afetar os usuários de outros dispositivos.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 1.6k
- Forks
- 697
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de hardbyte/python-can
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
hardbyte/python-can#2103 ·
-
bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
hardbyte/python-can#2077 · 1 comentário · 1 reação ·
-
bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
hardbyte/python-can#1922 · 1 reação ·
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 30/100
hardbyte/python-can#2102 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
hardbyte/python-can#2092 ·
Todas as issues de hardbyte/python-can
Issues semelhantes
-
area: harness bug status: needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Human-Agent-Society/reef#625 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 80/100
learningequality/kolibri#15351 · 2 comentários ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
Name consistency Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
eellak/triplestore#65 · 1 comentário ·