mavlink / MAVSDK-Java

MAVSDK client for Java.
73 stars 42 forks source link

How to use mavsdk_server_manylinux2010-x64? #161

Closed wangpuxia closed 4 months ago

wangpuxia commented 4 months ago

I download mavsdk_server_manylinux2010-x64 file,but how to runing it?

JonasVautherin commented 4 months ago

Did you try ./mavsdk_server_manylinux2010-x64?

wangpuxia commented 4 months ago

"cannot execute binary file" -bash: .: mavsdk_server_manylinux2010-x64: cannot execute binary file

divyanshupundir commented 4 months ago

Please try this:

chmod +x mavsdk_server_manylinux2010-x64

After this you should be able to run the binary as @JonasVautherin has explained earlier.

julianoes commented 4 months ago

@wangpuxia what machine is this on? Linux, macOS, x64, arm?

wangpuxia commented 4 months ago

@wangpuxia what machine is this on? Linux, macOS, x64, arm?

CentOS Linux release 7.7

wangpuxia commented 4 months ago

Please try this:

chmod +x mavsdk_server_manylinux2010-x64

After this you should be able to run the binary as @JonasVautherin has explained earlier

i tried,but error is same

wangpuxia commented 4 months ago

image

divyanshupundir commented 4 months ago

There should be a / between the . and the binary name with no white space.

./mavsdk_server_manylinux2010-x64
wangpuxia commented 4 months ago

There should be a / between the . and the binary name with no white space.

./mavsdk_server_manylinux2010-x64

really help me ,thanks a lot

wangpuxia commented 4 months ago

aa7a69d632e6e8c88d6d23788d8d29e runing mavlink-server succful on a server computer(with public IP), and open a port 18888

but at other computer,I cant connect this port 18888, telnet failed ,nmap failed image

julianoes commented 4 months ago

You're trying nmap on TCP when it's probably UDP.

julianoes commented 4 months ago

Nevermind, it's TCP. In this case you need to look at your setup and firewall settings. It looks like your mavsdk_server is running in a virtual machine? Why are you running it in a virtual machine but then connecting outside in Windows?