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

https://github.com/ardupilot/ardupilot-mavsdk


https://github.com/ardupilot/ardupilot-mavsdk

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# ardupilot-mavsdk

This repository provides basic tools and examples to run control ArduPilot SITL using MAVSDK.

- docker

This folder contains docker files to build a docker container which contains the dev environment for ArduPilot SITL as well as MAVSDK.

- docs

This contains documentation on pecularities of various ArduPilot features needed to control a vehicle running this autopilot. This will grow over time. Best documentation is however the official Ardupilot documentation:

https://ardupilot.org/copter

- examples
This contains many examples on how to use MAVSDK library to control ArduPilot SITL.

The following sequence should be followed in order to setup everything:
1. Build the docker images in ```docker/ ``` folder using the script ``` ./docker/build_and_push_docker_images.sh ```

2. Clone the MAVSDK library on your system. Checkout specfic tag or version if don't want to use the main brach.

3. Adapt the ```PATH_TO_MAVSDK``` and ```PATH_TO_TOOLS``` in the script ```run_docker.sh```

4. Run the script ```run_docker.sh```

5. In the container so launched, compile MAVSDK library by running the script ```build_mavsdk.sh```

6. Similarly build the examples by running the script ```build_examples.sh```

7. Launch the SITL by running ```run_sitl_apm.sh```

8. Run any of the examples by running ```run_example.sh```

## Questions

For any questions, please raise issue in this repository.