dev-feature/composer-bin-scripts
dev-feature/composer-bin-scripts
The Requires
dev-feature/robot-api
dev-feature/robot-api
The Requires
Wallogit.com
2017 © Pedro Peláez
PHP scripts to make a drop robot move and rotate., (*1)
``` bash git clone git@github.com:Darkmira/drop-robotapi.git cd drop-robotapi/, (*2)
cp .env.dist .env, (*3)
cp docker/docker-compose.arm.yml docker-compose.override.yml # For RaspberryPi cp docker/docker-compose.amd.yml docker-compose.override.yml # For x64 PC (for develop and testing purpose), (*4)
make, (*5)
## Usage Just call the script you want among: - `forward.php` - `backward.php` - `left.php` - `right.php` Example: ``` bash ./bin/forward.php # or php bin/forward.php
Or using docker:, (*6)
``` bash make bash, (*7)
./bin/forward.php ```, (*8)
, (*9)
The pins used on the Raspberry Pi are the one configured in .env file., (*10)
You may need to change them, or switch left and right motors, and/or A and B pins,
depending on how you wired motors and L298N controller., (*11)
This library is under MIT License., (*12)