8. Refactoring of the pilots

  • Status: accepted

8.1. Context and Problem Statement

The pilots are currently not very readable and not very clean. Furthermore, logic from multiple pilots is duplicated.

8.2. Decision Drivers

  • Clean Pilots

  • Easily extendable structure

  • Defined methods for each pilot

8.3. Considered Options

  • Introduction of Base Pilot

8.4. Decision Outcome

It was decided to introduce a Base Pilot.

8.5. Description of Changes

A Base Pilot was introduced. It defines every method which needs to be implemented by a pilot. It contains all the logic which is shared between the pilots. The other Pilots extend from this Base Pilot.