tub-uas / fcc

1 stars 0 forks source link

[SYSTEM] Fix decode error in can socket #19

Closed fpedd closed 3 years ago

fpedd commented 3 years ago

high load on raspi causes can packets to get lost. -20 nice value does not help

fpedd commented 3 years ago

maybe increase rx buffer size? not yet tested http://socket-can.996257.n3.nabble.com/increase-buffer-size-td2024.html

fpedd commented 3 years ago

maybe pi 4 (with overclocking TODO) will be sufficiently fast?!

heappy commented 3 years ago

This issue was for ahrs in and psu

heappy commented 3 years ago

Issue closed. Problem arose due to reception handler which discarded messages if they weren't in right order. False order can occur if high bus load on CAN, since CAN works with a CSMA-CD algorithm on bus.