Skip to content

Mission Planning & Task Allocation - Team A for UAV Swarm Project for BAE Systems UAV Swarm Challenge

License

Notifications You must be signed in to change notification settings

JohannesAutenrieb/mission_planning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mission Planning & Task Allocation - Team A (Cranfield University)

Description

This Software Project was created as part of a UAV Swarm Project in which a Cranfield Student Team participated in the BAE Systems UAV Swarm Challenge. The software contains the Mission Control and Task Allocation system, which was utilized to orchestrate the UAV Swarm. The system is embedded in a ROS Framework, which can communicate with other Subsytems such as the Agent's Autopilot and the Situational Awareness Systems (these software parts are not part of this repository). The Software can process the receiving data from Situational awareness (current Agent and Enemy information) and use a combinatorial optimization approach to choose suitable countermeasures against incoming threads.

You can find the related publication on: A Mission Planning and Task Allocation Framework For Multi-UAV Swarm Coordination

Task Allocation Approach

The dynamic task allocation approach decomposes complex multi-task missions into single tasks. This simplifies the assignment problem from a complex optimization to a problem that can be solved in an optimal manner with linear programming approaches. To solve this optimization problem following algorithms are implemented:

  • Kuhn–Munkres Algorithm
  • Jonker-Volgenant Algorithm
  • Stable-Marriage Algorithm

The default Algorithm for the System is the Kuhn–Munkres Algorithm since it is ensured that it delivers the optimal solution in a polynomial time. The Jonker-Volgenant Algorithm is implemented as an alternative since it has the potential to solve the problem with sufficient accuracy by having a lower computational complexity than the Kuhn–Munkres Algorithm. Nevertheless, if that algorithm is currently under testing, it will be implemented in future releases. The stable marriage algorithm is not under use anymore since both the Jonker-Volgenant and the Jonker-Volgenant Algorithm deliver better results in terms of a cost-optimal solution.

Mission Concept

The full mission was separated into 3 stages:

  • Stage 1: Agent Setup
  • Stage 2: Asset Protection (Dynamic Task Allocation)
  • Stage 3: Landing

The distinct stages are implemented as a state machine that uses defined trigger parameters to transit from one stage to another. Inside stage 1 and stage 3, sub-state machines are implemented, which ensure the correct agent workflows in those stages. Stage 2 is fully dynamic and only uses a dynamic task allocation approach, as explained prior.

Statemachine_main

Task Manager

To create a fully autonomous mission system, a task manager system has been implemented. The task manager is an independent software system that is able to recognize task assignments and monitor their progress. That is the process of computing a reward for each waypoint or attack task progress of the agents. When it is recognized that the reward is not increasing over a defined time window, the assigned task is getting aborted. The same applies to task execution that exceeds a certain time window. The time window for each assigned task is individually defined based on the task type, distance, and flying speed.

System_Overview

Graphical User Interface

The GUI was created to simplify the mission overview for the user during the competition. The GUI-System is fully integrated into the ROS Network System and is listening to the exchanged messages. Received information is displayed for the user in a Mission Window based on the PyQT framework.

MISSION_GUI

Dependencies

The software system us using external libraries which needs to be installed.

Install Rospy for Pyton 3.6:

sudo pip3 install -U rospkg
sudo pip3 install roslibpy
sudo apt-get install python3-yaml
sudo pip3 install rospkg catkin_pkg

Install PyQt, PyUic4 and PyRcc4:

sudo apt-get install pyqt4-dev-tools qt4-designer

The software was tested under Linux Ubuntu Versions 16.04.6 LTS and 18.04.2 LTS-*

Usage

This Software system is using ROS for that reason it needs to be integrated into a Robot Operating System Framework. If not already exist, a working ROS Workspace needs to be created. If that is the case, please go first to your workspace.

# Go to your ROS Workspace Directory
$ cd ~/your_ros_workspace

The next step is to clone this github repository and use it as a new package:

$  git clone https://github.com/JohannesAutenrieb/mission_planning.git ./src/mission_planning

The system is built with:

#Building all ROS packages
$  catkin_make

To have a functional Task Allocation system the system needs initial agent information to start. When the system is not embedded in the complete ROS environment, the publisher.py can be used to fake the swarm:

# fakes a swarm environment with 5 agents and 2 moving targets
$  rosrun mission_planning publisher.py

The task allocation software is started with:

$  rosrun mission_planning Main.py

The task manager software is started with:

$  rosrun mission_planning TaskManager.py

When it is wanted to display the mission via the gui, the gui can started with:

$  rosrun mission_planning GUI.py

License

Released under the 2-clause GPL GNU license, see LICENSE.

Copyright (C) 2019, Johannes Autenrieb and Natalia Strawa

About

Mission Planning & Task Allocation - Team A for UAV Swarm Project for BAE Systems UAV Swarm Challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published