Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: kinematics_control kinematics_controlv2 kinematics_controlv4 kinematics_control_copyfds ... more
PIDControl.h
- Committer:
- peterknoben
- Date:
- 2017-10-26
- Revision:
- 0:b076b5e36978
File content as of revision 0:b076b5e36978:
#ifndef _PIDCONTROL_H_INCLUDED_
#define _PIDCONTROL_H_INCLUDED_
#include "mbed.h"
class PIDControl
{
public:
/**
*Constructor
*/
PIDControl(void);
// Calculate the PID control value
double get(float error, const float Kp, const float Ki, const float Kd, const float Ts, const float N, double &v1, double &v2);
private:
};
#endif