Hi all, Does anyone have experience running the MAVSDK-Java android-client example? I can run it on the emulator in Android Studio but it is not connecting to Jmavsim Simulator, and it is crashing when I press land or takeoff button. I am using mavsdk_server built from sources. Please check the attached screenshots. Thx!
Android-client example not connecting to simulated drone and crashing when pressing Takeoff or Land button
I think you have to check the networking there. Your emulator is (I believe) not on the host network (it has an IP like 10.0.2.2, something like that). So you’ll have to send mavlink from jmavsim to the emulated device somehow.
Thanks for your help!