Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still receiving packets after unplugged from the car #35

Open
DVJocelynShannon opened this issue Apr 20, 2023 · 3 comments
Open

Still receiving packets after unplugged from the car #35

DVJocelynShannon opened this issue Apr 20, 2023 · 3 comments

Comments

@DVJocelynShannon
Copy link

I have RANDOM_CAN = 0 so from what I understand there shouldn't be random data coming through. If I start sniffing while it is plugged into the car then the packets come through in piles, but when it is unplugged there are still packets coming through.

Is there a reason for this or something I am doing wrong with the setup/code?

@adamtheone
Copy link
Owner

Is the data different (rubbish) after unplugging? If yes, it might be just noise, because your terminals (CAN-H and CAN-L) are floating. If it is similar to what you've seen before, it can only be buffered packets still in the Serial pipe, but I haven't experienced this before. Even if they are just buffered packets, they should end pretty soon after unplugging.

@cpocol
Copy link

cpocol commented Sep 29, 2023

Make sure your laptop is not in power saving/low performance mode. Currently, as the GUI app is not optimized for speed, a slow laptop can't keep the pace. I can easily observe this although I have a pretty good CPU: i7-10850H

@cpocol
Copy link

cpocol commented Nov 1, 2023

You can try my lastest version on https://github.com/cpocol/canDrive
I've made lots of optimizations until I have no more lag, even when I set the CPU performance as low as this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants