This repository was archived by the owner on Jun 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Android example
AlexisTabin edited this page Mar 25, 2020
·
3 revisions
Récupérer le repo https://github.com/mavlink/MAVSDK-Java/tree/master/examples/android-client.
- Lancer QGroundControl
- Lancer l'image headless de gazebo
- Sur Linux:
docker run --rm -it jonasvautherin/px4-gazebo-headless:v1.10.1 - Sur Windows avec docker:
docker run --rm -it jonasvautherin/px4-gazebo-headless:1.10.1 - Sur Windows avec docker toolbox:
docker run --rm -it jonasvautherin/px4-gazebo-headless:1.10.1 10.0.2.2 10.0.2.2
- Sur Linux:
- Pour le serveur
mavsdk_server, il y a 2 possibilités :- Faire tourner le serveur sur le téléphone (ce qu'on devra faire à terme j'imagine), pour cela il faudra s'assurer d'avoir Le simulateur en arm64 et un telephone arm64
- Faire tourner le serveur sur sa machine, pour cela, il faut changer quelques lignes de code dans
l'exemple :
- ici, à la place de BACKEND_IP_ADDRESS, il faut mettre l'addresse IP de sa propre machine - Mettre en commentaire ces lignes