ec
Fork of EC by
Diff: EC.h
- Revision:
- 27:72711b6cbe2a
- Parent:
- 26:45a53e3c81b1
- Child:
- 28:172a316ab863
--- a/EC.h Wed Aug 02 06:55:54 2017 +0000 +++ b/EC.h Thu Aug 10 05:27:10 2017 +0000 @@ -169,7 +169,7 @@ * int main() * { * ticker.attach(&calOmega,0.05); //0.05秒間隔で角速度を計算 - * motor1.setPIDparam(0.15,0.0,0.15); //PIDパラメータを設定 + * motor1.setPDparam(0.01,0); //PDパラメータを設定 * motor1.setDOconstant(46.3); //duty比と角速度の変換係数を46.3に設定 * * int kai=0;