Closed alexblack closed 8 years ago
Now, I can't get the sample above to start, even after doing solo video acquire
and rebooting
root@3dr_solo:~/ddc/examples/opencv# python SoloCamera.py
VIDIOC_QBUF (start) error 22, Invalid argument
failed to open gopro
closing camera...
Exception AttributeError: "'NoneType' object has no attribute 'solocam_close'" in <bound method SoloCamera.__del__ of <__main__.SoloCamera object at 0x7f41b0>> ignored
Haven't solved the disconnect issue, but, in general the video issues like error 22 above were solved by: https://github.com/3drobotics/solodevguide/issues/302
See: https://github.com/3drobotics/solodevguide/tree/master/examples/opencv
Steps to repro
examples/opencv
onto the dronepython SoloCamera.py
Here is what I did to setup the drone
3DR Solo first time setup
Normal setup
Resize partition
df -h
df -h
This allocates a lot of space to the primary parition for development (instead of for logs)
solo install-smart
solo resize
Setup SSH
ssh root@10.1.1.10
, password:TjSDBkAu
id_rsa.pub
into/home/root/.ssh/authorized_keys
ssh solo
Setup dev environment
On your machine
solo install-pip
On the solo
smart install git
smart install python-opencv