mavlink / MAVSDK-Java

MAVSDK client for Java.
76 stars 44 forks source link

I want to connect my android to a drone via telemetry #188

Open Sefibrah opened 1 month ago

Sefibrah commented 1 month ago

image

I have my android device, connected to a telemetry thingy. But how do I identify its connection string in my MavSDK-Java code?

As you can see, I am trying this approach:

mMavsdkServer = new MavsdkServer();
int mavsdkServerPort = mMavsdkServer.run("serial:///dev/ttyUSB0:57600");
mRover = new io.mavsdk.System("localhost", mavsdkServerPort);

But I think I am approaching it a bit too naively... can someone at least point me in the right direction(s)?

JonasVautherin commented 1 month ago

Unfortunately that would still need some work. There are some discussions and workaround here: https://github.com/mavlink/MAVSDK-Java/issues/23.