Closed SongeunYoo closed 4 years ago
Hello! Did you manage to run the java-client example?
On Android, the sample app should "just work", but you may need to point the simulator to it. I usually do run a headless simulator using this, as it helps me sending mavlink to my phone.
So for instance, say that the android phone has the IP 192.168.0.12
, I run (from my laptop on the same network as the android phone):
$ docker run --rm -it jonasvautherin/px4-gazebo-headless:v1.9.2 192.168.0.12
Oh, thx :D I'll try it.
Hello! Did you manage to run the java-client example?
On Android, the sample app should "just work", but you may need to point the simulator to it. I usually do run a headless simulator using this, as it helps me sending mavlink to my phone.
So for instance, say that the android phone has the IP
192.168.0.12
, I run (from my laptop on the same network as the android phone):$ docker run --rm -it jonasvautherin/px4-gazebo-headless:v1.9.2 192.168.0.12
Hi,I met the same problem. if i use the jmavsim ,how could i solve this problem?
@lbb1993: Does it work with the docker command you pasted above? If yes, one way with jMAVsim would be to use mavlink-router to send the jMAVsim packets to your Android device.
Hello. I have question in android-client example. I followed java-client README.md (cause of no README file in android-client), but there're some problems in running android-client example. When running it, the error occurred "W/System.err: io.reactivex.exceptions.OnErrorNotImplementedException: NO_SYSTEM: No system"
I think it's because there's no simulator…… right? The java README file says run a simulator(I used jMAVSim) mavsdk_server, after running a server. But I think it doesn't work for android example.
Is there any way to run simulator for android or run the example successfully? Thanks.