#include <encCtrl.h>
Public Attributes | |
| short | diff |
| unsigned short | prev |
| unsigned char | id |
| char | enc_direction |
| int | total |
エンコーダ制御に必要なパラメータ、状態を管理
Definition at line 39 of file encCtrl.h.
| short encInfo_t::diff |
前回呼び出しからのエンコーダ値の変位量
Definition at line 40 of file encCtrl.h.
Referenced by getEncDiff(), initEncInfo(), and updateEncDiff().
| unsigned short encInfo_t::prev |
前回呼び出し時のエンコーダ値
Definition at line 41 of file encCtrl.h.
Referenced by initEncInfo(), and updateEncDiff().
| unsigned char encInfo_t::id |
使用するエンコーダのデバイスID
Definition at line 42 of file encCtrl.h.
Referenced by initEncInfo(), and updateEncDiff().
モータとエンコーダの取り付け方向の状態
Definition at line 43 of file encCtrl.h.
Referenced by initEncInfo(), and updateEncDiff().
| int encInfo_t::total |
エンコーダ値の総移動量
Definition at line 44 of file encCtrl.h.
Referenced by initEncInfo(), and updateEncDiff().
1.5.7.1