aerostack2 / aerostack2/project_px4_vision

Multiple instances of UAV are not working as default configurations

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.