aerostack2 / aerostack2/project_px4_vision

Multiple instances of UAV are not working as default configurations

Aperta
#7 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
2
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have implemented running multiple UAVs using this project with namespaces defined as drone0, drone1, and drone2 as described in sitl_config/world.yaml. After following the step-by-step instructions in the tutorial:
```
1- MicroXRCEAgent udp4 -p 8888
2 - ./launch_sitl.bash
3- ./launch_as2.bash -n drone0
4- ./launch_as2.bash -n drone1
5- ./launch_as2.bash -n drone2
```
When I run the mission for drone0 using `python3 mission.py -n drone0`, all commands run successfully. However, when running the mission for drone1 or drone2 using `python3 mission.py -n drone1` or `python3 mission.py -n drone2`, they hang on “Taking off.” (With verbose mode enabled, the output shows no changes in the drones’ altitude.)

After investigating, if I modify the instance of namespace drone0 to 2, and drone1 and drone2 to 0 and 1 respectively in the world.yaml file, and then rerun the above steps, they work as expected.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.