A test harness plugin for the Darjeeling program repair framework that allows ArduPilot systems to be tested via software-in-the-loop simulation.
Before installion, make sure that the following prerequisites are installed on your machine:
- Docker. If using Ubuntu, be sure to follow
the official installation instructions for Docker, as
apt
, by default, provides several egregiously outdated versions of Docker under slightly different names (e.g.,docker
,docker.io
). - Python 3.6.6 or greater. If the version of Python 3 on your machine is older than 3.6.6, you may find it convenient to use pyenv to install the latest version.
- Pipenv should also be installed. Pipenv is
most easily installed to your system's Python libraries via
pip3
.
To install the Docker images for all of the bug scenarios and to build a portable MAVProxy binary that is required by the Darjeeling test harness:
$ make
To install darjeeling-ardupilot
and its dependencies, including a specific
version of Darjeeling:
(pipenv) $ pip install -r requirements.txt
(pipenv) $ pip install -e .
(pipenv) $ darjeeling repair scenarios/ros-red-poster/repair.yml