-
Notifications
You must be signed in to change notification settings - Fork 53
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
struct.error while using opencv-viewer.py #70
Comments
Hi! Did you update your wifi example with the latest example? or are you trying it out right out of the box? You would probably need to revert the examples to this commit: bdcca78 in that case. |
Yes I first used it without updating to the latest example. But after updating the examples the error is still the same.. |
I haven't seen this before. Do you get this the first time you connect as well? Or is it only after disconnecting/connecting again? |
Yes I also get the error the first time I connect |
Anybody have any luck with this? I'm having this issue even after going back to the older commit. Thanks in advance for any help -- been stuck with this for several days. |
I updated everything again like in the getting started pages [https://www.bitcraze.io/documentation/tutorials/getting-started-with-aideck/] |
Good you fixed that build problem. Were you able to flash over air the wifi example okay without error? Are you connected to the aodeck as accesspoint or is it connecting to wifi itself? |
Yes I was able to flash the wifi example using the radio without any errors and I'm connected with the aideck as accesspoint. |
Ah oke. Sometimes I had to powercycle my crazyflie a time or two before it was connected. You can also have feedback from the console tab of the Cfclient for any cpx readouts. Usually it would say if it manage to establish a connection or if anything failed. If the camera failed to initialized for instance, you'll see that in the console tab. |
Thank you so much. This helped to get it to work properly. Now I'm able to see the stream again. |
ah great! we are trying to work on the stability of it all, as it should not be necessary to constantly restart it... but I'll keep it open here so that other people know of it if they are seeing the same thing of what they should do. |
Hey :)
I tried to use the opencv-viewer.py and got a struct.error message
Connecting to socket on 192.168.4.1:5000... Socket connected Traceback (most recent call last): File "streamer.py", line 86, in <module> [magic, width, height, depth, format, size] = struct.unpack('<BHHBBI', imgHeader) struct.error: unpack requires a buffer of 11 bytes
Any ideas how to solve this?
The text was updated successfully, but these errors were encountered: