Closed zealrussell closed 2 years ago
Two things:
''
and not double quotes "
in the code above? Does that even compile? :thinking:docker run --rm -it jonasvautherin/px4-gazebo-headless:1.12.3 <ip_of_android_device>
For the first, it is a typo, I have used double quotes in my code. Sorry for my mistake.
For the second, I use docker run --rm -it jonasvautherin/px4-gazebo-headless:1.12.3 <ip_of_android_device>
and it really works! Thank you for your help. Best wishes!
Dear all, I run the
jonasvautherin/px4-gazebo-headless
docker image in my windows laptop, and(1)when I run mavsdk-server and mavsdk-java in the laptop, the mavskd-server automatically connect with gazebo-docker, so it works successfully, but (2) when I run the mavsdk-server and mavsdk-java in my android phone(they use same wifi), the mavsdk-server could not connect with the gazebo-docker. I use the following code to create an android application:After carefully reading
getting-started-with-mavsdk-java/
,I think the question isudp://:14540
, so I triedudp://192.168.1.10:14540
(my laptop ip address) but still didn't work. I even use the commanderdocker run --rm -it jonasvautherin/px4-gazebo-headless:1.12.3 192.168.1.10
but still. I really want to know how could I connect them with eachother. My english is bad so I draw the picture question.png. Thanks a lot!