Skip to content

Multiple instances of UAV are not working as default configurations #7

@t2kien

Description

@t2kien

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions