etrobocon2018 feat.KatLab
770af34cce41ae9c30c41303275e1add2daae0c3
(with uncommitted changes)
|
#include <TurnControl.h>
公開メンバ関数 | |
TurnControl () | |
std::int8_t | calculateTurnForPid (std::int8_t forward, std::int16_t light_value) |
![]() | |
Pid (double p_gain_, double i_gain_, double d_gain_, double target_) | |
Pid (double p_gain_, double i_gain_, double d_gain_, double diff_, double integral_, double target_, double output_) | |
void | setPid (double p_gain_, double i_gain_, double d_gain_, double target_) |
その他の継承メンバ | |
![]() | |
void | calculate (double light_value) |
double | get_output () |
double | limitOutput (double pid_value) |
PID制御によるターン制御クラス
TurnControl.h の 16 行目に定義があります。
TurnControl::TurnControl | ( | ) |
コンストラクタ
TurnControl.cpp の 9 行目に定義があります。
std::int8_t TurnControl::calculateTurnForPid | ( | std::int8_t | forward, |
std::int16_t | light_value | ||
) |