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

Queue is full problem (interfering arduino with unity) #48

Closed
pranavkp160 opened this issue Apr 7, 2021 · 1 comment
Closed

Queue is full problem (interfering arduino with unity) #48

pranavkp160 opened this issue Apr 7, 2021 · 1 comment

Comments

@pranavkp160
Copy link

pranavkp160 commented Apr 7, 2021

I wanted to get the accelerometer data from arduino to unity for creating an AR game.I was using ardity for serial communication.When i run the stimulation along with the accelerometer data iam getting the queue is full message and also the message has been dropped message.How to fix this and how to get full data without droping of datas.Please reply

@dwilches
Copy link
Owner

dwilches commented Apr 7, 2021

Hello,
Ensure your Unity program is processing the data quickly. If your Arduino publishes data too quickly, then it will overwhelm Unity if the processing on the Unity side is too slow.

If the problem is Arduino is sending data too fast, you can make it report it more slowly, as anyways Unity won't be able to process all that data on each frame.

Regards.

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

2 participants