Giter VIP home page Giter VIP logo

pid-c's Introduction

Reusable C PID Library

  • Author: gbmhunter <[email protected]> (http://www.cladlab.com)
  • Created: 2012/11/09
  • Last Modified: 2013/09/16
  • Version: v1.2.0.0
  • Company: CladLabs
  • Project: n/a
  • Language: C
  • Compiler: GCC
  • uC Model: all
  • Computer Architecture: all
  • Operating System: n/a
  • Documentation Format: Doxygen
  • License: GPLv3

Description

Reusable PID controller that supports multiple control loops.

Internal Dependencies

None

External Dependencies

None

Issues

See GitHub issues section

Limitations

None documented

Usage

Since all parameters are passed in by structure pointer into PID controller functions, this file can work with as many separate PID control loops as you wish.

coming soon...

Changelog

Version Date Comment
v1.2.0.0 2013/09/16 Removed unnecessary header file includes in Pid.c. Moved Pid.h to ./src/include/. Removed details section from title block comments in Pid.c and Pid.h. Changed the precompiler debug macro detection from a error to a warning.
v1.1.3.0 2013/09/16 Removed Doxygen files (the ./doc folder).
v1.1.2.1 2013/09/16 Fixed error in README Changelog table formatting.
v1.1.2.0 2013/09/16 Deleted old Mercurial repo files (.hgignore and .hgtags). Fixed capaitilisation of some of the README section names.
v1.1.1.1 2013/06/04 Modified README.txt to README.rst.
v1.1.1.0 2012/11/04 Moved function documentation from Pid.c into Pid.h. Currently v1.1.1.0
v1.1.0.0 2012/10/14 Made PID functions use external structures, added readme file. PID variables stored in struct.
v1.0.0.0 2012/09/30 Initial commit.

pid-c's People

Contributors

gbmhunter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pid-c's Issues

Remove Doxygen Files

Remove Doxyfile from root and doc folder. These can be regenerated from source.

prevOutput shouldn't be in output calculation

///Compute PID Output
pidData->output = pidData->prevOutput + pidData->zKp*pidData->error + pidData->iTerm + pidData->dTerm;

Why do you use prevOutput to calculate output? According to wikipedia article it shouldn't be there at all

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.