ETrobocon2017 - 片山研究所モデルベース開発推進事業部
|
PID制御の計算を行うクラス [詳解]
#include "Pid.h"
公開メンバ関数 | |
Pid (double p_gain, double i_gain, double d_gain, double target) | |
void | setPid (double _p_gain, double _i_gain, double _d_gain, double _target) |
void | wrapper_of_constructor (double _p_gain, double _i_gain, double _d_gain, double _diff, double _integral, double _target, double _output) |
限定公開メンバ関数 | |
void | calculate (double light_value) |
double | get_output () |
double | limitOutput (double pid_value) |
Pid::Pid | ( | double | p_gain, |
double | i_gain, | ||
double | d_gain, | ||
double | target | ||
) |
|
protected |
|
protected |
void Pid::setPid | ( | double | _p_gain, |
double | _i_gain, | ||
double | _d_gain, | ||
double | _target | ||
) |
void Pid::wrapper_of_constructor | ( | double | _p_gain, |
double | _i_gain, | ||
double | _d_gain, | ||
double | _diff, | ||
double | _integral, | ||
double | _target, | ||
double | _output | ||
) |