hardbyte / hardbyte/python-can
SocketCAN Kvaser no response
- Linguagem predominante
- Python
- Estrelas
- 1.6k
- Forks
- 697
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Hello,
I am trying to communicate with a device over CAN using python-can. I have been able to successfully establish communication in both directions on Windows (using Kvaser's canlib) and am trying to do the same on Linux (Ubuntu 18.04) with python-can.
The messages I'm sending have the correct arbitration IDs and I'm not using CAN FD.
` bus = can.interface.Bus(bustype='socketcan', channel='can0', bitrate=500000, receive_own_messages=True)
`
Some additional information is that when using 'kvaser', it says that my device is not found. I suspect that could've been part of the issue, and I also do not know how to fix this. However, when I run the same program on Windows and the device IS found, there is still no bidirectional communication. (The success with Windows was a result of using Kvaser's canlib, apparently.)
Using can.logger, I can see my messages supposedly getting sent out properly, but I am not receiving any of the expected messages back. Any thoughts/ways I could troubleshoot this? Thanks in advance!
Guia de contribuição
Direção de pesquisa
Comece com a configuração de can.interface.Bus para os backends socketcan e kvaser e, em seguida, use can.logger enquanto reproduz os casos no Ubuntu 18.04 e no Windows. Compare a descoberta de dispositivos relatada e o comportamento das mensagens bidirecionais; a investigação estará concluída quando a falha de comunicação for isolada como um problema do backend ou da configuração.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- linux, python, ubuntu
- Domínio
- networking
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100