1 year ago

#233110

test-img

s_sliwinski

Why is python-can bus.send() method sending dubbled messages?

I monitor bus with tshark and in the simplest case it looks like one the screenchot

terminal screenshot

So it's really simple use case:

import can
bus = can.interface.Bus(bustype='socketcan', channel='can0', bitrate=1000000)
msg = can.Message(arbitration_id=0x01, data=[0,0,0,0,0,0,0,0], is_extended_id=True)
bus.send(msg)

I checked on the receiving side, and the two sent messages, are visable.

Is it a bug? Or it should look like this?

python

python-3.x

can-bus

python-can

0 Answers

Your Answer

Accepted video resources