diff --git a/README.md b/README.md index 6af4815..327a2dc 100644 --- a/README.md +++ b/README.md @@ -33,20 +33,21 @@ This project is a pure rust implementation of a quadcopter. ### Motors - Crazepony Emax Mt2213 935kv Brushless Motor -## Installation +## Installation (Pi) 1) Install Rust https://www.rust-lang.org/en-US/install.html 2) Install Protobuf 3. For the Pi, you may need to install from source since there are no ARM releases. -3) Clone Safe Flight +3) Clone Safe Flight: `git clone https://github.com/martindeegan/drone.git` +3) `cd drone/copter` 3) Build with cargo: -~~~ +```bash cd copter cargo build --release -~~~ +``` 4) Run with sudo: -~~~ +``` sh run-release.sh -~~~ +``` ## Configuration -Modify copter.json to suit your specific configuration. +Modify make a copy of `cp copter/configuration/config_default.toml copter/configuration/config.toml` and update it to suite your configuration. - Under motors, list the GPIO ports you used on your Raspberry Pi