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

libsolocam.so Random Error freezes Solo #316

Open
David-Proconsi opened this issue Jun 8, 2016 · 2 comments
Open

libsolocam.so Random Error freezes Solo #316

David-Proconsi opened this issue Jun 8, 2016 · 2 comments

Comments

@David-Proconsi
Copy link

I am using libsolocam.so without modifications in order to read frames from the camera but after a few seconds or minutes, it depends, the Solo freezes and start flashing red lights.
I tried it on the ground but i think that if it happens in flight it can be dangerous.

The error in the console is:

python: solocam.c:300: solocam_read_frame: Assertionbuf.index < ctx->num_buffe rs' failed.
`

I can not understand exactly why it is produced and how to prevent it.
I think that the buffer is full, but i am not sure. I think it is produced in the line 329 of solocam.c
Anyone having the same problem?
Do you know how to solve it?

@alexblack
Copy link

Hi @David-Proconsi see my solution to #302, it might be the issue. Though, while I've had similar trouble to you, eg only able to read a few frames before things go wrong, I haven't seen that specific error.

@David-Proconsi
Copy link
Author

I will try it as soon as possible. Thanks

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