Skip to content

Methods

Daniel edited this page Nov 3, 2018 · 12 revisions

Overview

This is a list of all the methods in the library.

List

Method Arguments Returns Description
begin none void Initialize the PID
tune <kP> <kI> <kD> void Tune the pid
limit <min> <max> void Limit the PID output
setpoint <new setpoint> void Set a setpoint for the PID
minimize <minimize> void The output from the PID is devided by this value
compute <sensor> [GRAPH|NOGRAPH] [VERBOSE|NOVERBOSE] double Output Computes the optimal output given a an input
getOutput none double Output Get the current stored output

Details

A more in-depth guide to the methods in the library.

begin

tune

Tuning

limit

setpoint

minimize

compute

getOutput

Clone this wiki locally