ChrisTimperley / darjeeling-ardupilot

An ArduPilot plugin for the Darjeeling program repair framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

darjeeling-ardupilot

A test harness plugin for the Darjeeling program repair framework that allows ArduPilot systems to be tested via software-in-the-loop simulation.

Installation

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 .

Usage

(pipenv) $ darjeeling repair scenarios/ros-red-poster/repair.yml

About

An ArduPilot plugin for the Darjeeling program repair framework

License:Apache License 2.0


Languages

Language:Python 90.9%Language:Shell 7.0%Language:Makefile 2.0%