1#ifndef J_CONTROL_LOOP_H
2#define J_CONTROL_LOOP_H
interface for control loop used by JMotorControllerClosed
Definition JControlLoop.h:7
float getError()
setpoint-position
Definition JControlLoop.h:20
float error
Definition JControlLoop.h:9
float ctrlLoopOut
Definition JControlLoop.h:10
float result
Definition JControlLoop.h:11
float getResult()
most recent value returned by calc() overall output to motor
Definition JControlLoop.h:38
float getCtrlLoopOut()
most recent value calculated by control loop in response to error (but not including feedforward) For...
Definition JControlLoop.h:29
virtual void resetTime()=0
virtual float calc(JMotorControllerClosed *controller)=0
closed loop (uses encoder) motor controller
Definition JMotorControllerClosed.h:13