Git Product home page Git Product logo

arduino_motor_control's Introduction

Arduino Motor Control

A differential drive controller with visual encoders that receives commands via serial interface.

Can be controlled from a host device application such as this ROS controller.

The PID control is encapsulated in this Arduino library.

Protocol

<type> <verb> [<verb>] [<timestamp>] [<value>]
Message Type Purpose Verbs Purpose Verbs Purpose Syntax
set Write values to target vel assign set point velocity set vel < timestamp > < vl > < vr >
dty assign set point duty cycle set dty < timestamp > < dl > < dr >
cfg assign configuration parameter kp(l|r) control constant p (left | right) set cfg kp < value >
ki(l|r) control constant i (left | right) set cfg ki < value >
kd(l|r) control constant d (left | right) set cfg kd < value >
t command execution time in seconds set cfg t < value >
query Query values from target vap read position and velocity query vap
pos read position query pos
pid read pid parameters query cfg
state Send values from target vap Reply to query vap state vap < timestamp > < pl > < vl > < pr > < vr >
pos Reply to query pos state pos < timestamp > < pl > < pr >
pid Reply to query pid state pid < timestamp> < pl > < il > < dl > < pr > < ir > < dr >
info General human readable message info < timestamp > < message >

arduino_motor_control's People

Contributors

phildue avatar

Watchers

 avatar  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.