Giter Club home page Giter Club logo

adafruit-servo-mapper's Introduction

Mike's Servo Mapper

A simple command line utility to map servos to

Written and tested using the Adafruit I2C servo driver board: PCA9685

Requiremments

Python Requirements

Python's requirements are handled by pipenv, which you can install like so:

sudo apt install pipenv

or

sudo dnf install pipenv

Once installed, you can have pipenv install all python requirements like so:

  1. cd to this repo's directory
  2. Execute the command: pipenv install

Execution

cd to this repo's directory and execute using:

pipenv run python3 main.py

Command Line Arguments

--name (Specify one or more mapping names)

You can specify desired mapping names by adding the --name argument, as many times as you wish:

$ pipenv run python3 main.py --name Leg --name Arm

--config (Specify an input config file)

You can specify a yaml configuration file to load with this argument, like so:

$ pipenv run python3 main.py --config /path/to/config.yaml

So far the config file is only good for storing desired names to be mapped. Here's an example:

names:
    - Manny
    - Moe
    - Jack

adafruit-servo-mapper's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.