Skip to content

Commit

Permalink
[update] 制御周波数を200Hzに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiyouKomazawa committed Jan 20, 2022
1 parent 6a70e6a commit f12a76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#define M2 1U /* モータ2の要素 */

/** @brief モータ制御器の更新タイミング */
#define CTRL_INTERVAL (1.0 / 100) //[sec]
#define CTRL_INTERVAL (1.0 / 200) //[sec]
/** @brief 電流センサ(ACS712ELCTR-05B)の感度 */
#define ACS712_V_2_I (1 / 0.185) //[A/V]
/** @brief 暴走検知用カウンタの許容値(この回数を超えると非常停止する) */
Expand Down

0 comments on commit f12a76c

Please sign in to comment.