The purpose of this PR is to automatically specify location of drones. It achieves the following:
By default an initial location is specified using new env variables PX4_SIM_INITLOC{X,Y,Z} in sitl.Dockerfile (defaulted to 0,0,0).
xacro_launch.py then modifies this value depending on the ordinal value of the drone to spawn itself around a spiral formation.
In addition this PR includes a change to the spawn script to attempt best effort spawning. If no model exists, the model will be spawned. If a model already exists (e.g. the failure of one of the pods) then the spawn container will attempt and fail, but if the IGNORE_FAILURE env variable is set it will exit successfully anyway.
The purpose of this PR is to automatically specify location of drones. It achieves the following:
In addition this PR includes a change to the spawn script to attempt best effort spawning. If no model exists, the model will be spawned. If a model already exists (e.g. the failure of one of the pods) then the spawn container will attempt and fail, but if the IGNORE_FAILURE env variable is set it will exit successfully anyway.