An open API service indexing awesome lists of open source software.

https://github.com/christimperley/darjeeling-ardupilot

An ArduPilot plugin for the Darjeeling program repair framework
https://github.com/christimperley/darjeeling-ardupilot

ardupilot darjeeling drone repair robots

Last synced: 8 months ago
JSON representation

An ArduPilot plugin for the Darjeeling program repair framework

Awesome Lists containing this project

README

          

# darjeeling-ardupilot

A test harness plugin for the [Darjeeling](https://github.com/squaresLab/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](https://docs.docker.com/install/). 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](https://github.com/pyenv/pyen)
to install the latest version.
* [Pipenv](https://github.com/pypa/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
```