2017 © Pedro Peláez
 

library drop-robotapi

image

alcalyn/drop-robotapi

  • Saturday, April 7, 2018
  • by alcalyn
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Drop Robot API

PHP scripts to make a drop robot move and rotate., (*1)

Install

``` bash git clone git@github.com:Darkmira/drop-robotapi.git cd drop-robotapi/, (*2)

Create your .env from distribution and edit it

cp .env.dist .env, (*3)

Using docker on RaspberryPi or x64 PC ?

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)

Wiring

Robot wiring, (*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)

License

This library is under MIT License., (*12)

The Versions

07/04 2018

dev-master

9999999-dev

  Sources   Download

The Requires

 

06/04 2018

dev-feature/composer-bin-scripts

dev-feature/composer-bin-scripts

  Sources   Download

The Requires

 

12/03 2018

dev-feature/robot-api

dev-feature/robot-api

  Sources   Download

The Requires