puku0x / cvdrone

CV Drone (= OpenCV + AR.Drone)
https://github.com/puku0x/cvdrone/wiki/How-to-build
Other
202 stars 94 forks source link

Multi-platform FTP Client #7

Closed puku0x closed 10 years ago

puku0x commented 10 years ago

Old version of CV Drone can get "version.txt" from AR.Drone, why not the latest one can do it ?

TODO:

REQUIREMENTS:

I would appreciate if you contribute to CV Drone.

Regards, puku0x

puku0x commented 10 years ago

OK, I found a solution. https://github.com/puku0x/cvdrone/commit/5be7c157e56a005ccdd9c6a00c9d5ab88be94293

MerryOscar commented 10 years ago

Hi puku0x,

Firstly thanks for the great libraries! I've been successfully using them on a windows machine but when I try to connect via Mac OS 10.9.2 it fails to connect, giving me the error:

ERROR: connect() failed. (../../src/ardrone/tcp.cpp, 72) TCPSocket::open(port=124) failed. (../../src/ardrone/version.cpp, 58) Failed to initialize.

I checked the version.cpp file and it seems to fail when trying to open socket2(ip, dataport). Also each time I try to connect the data port number changes. It seems like it has something to do with this issue so I thought i'd post here. If you have any potential solutions that would be great!

Thanks,

OMerry

puku0x commented 10 years ago

Hi OMerry,

Miraculously, I faced the same issue the day before yesterday.

It could be solved by changing the line 50 in "version.cpp" from

ushort a, b, dataport;

to

int a, b, dataport;

I hope it works for you !

Thank you, puku0x

MerryOscar commented 10 years ago

Hi puku0x,

Weird coincidence! Yes thats solved the issue and its now connecting.

Thanks for your help and the quick reply, and once again for the libraries! They've been a massive help for me.

Regards,

OMerry.

yunnimu commented 7 years ago

hello I have the same problem

ERROR: connect() failed. (../../src/ardrone/tcp.cpp, 76) TCPSocket::open(port=5551) failed. (../../src/ardrone/version.cpp, 42) Failed to initialize.

how to solve this problem?

puku0x commented 7 years ago

Hi, thank you for your report.

Are your drone and your PC connected to the same network ?

yunnimu commented 7 years ago

Yes I wanna conect my drone to my pc but the eror like that.. And i try to connect my drone to other pc,but the problem is same..

Regards, Yunni Muharani Mobile : +6281904043349

On 12 May 2017 19:52, "puku0x" notifications@github.com wrote:

Hi, thank you for your report.

Are your drone and your PC connected to the same network ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/puku0x/cvdrone/issues/7#issuecomment-301068310, or mute the thread https://github.com/notifications/unsubscribe-auth/AT8NIvVyPDpDRx-PQpyim3a8BqfqqARZks5r5FYfgaJpZM4A7jmp .