5 #ifndef SPIDAR_DEVICE_SPEC_HPP 6 #define SPIDAR_DEVICE_SPEC_HPP 13 static const size_t X = 0;
14 static const size_t Y = 1;
15 static const size_t Z = 2;
19 #define DEVICE_SPEC_VERSION 0x16033101 66 #endif // SPIDAR_DEVICE_SPEC_HPP ValueType encoderResolution[MOTOR_COUNT]
エンコーダ分解能 [pulse/r]
uint32_t minorLoopVelocityFilterGain
2次制御ループでのエンコーダ速度用ローパスフィルタゲイン(自然数)
ValueType encoderDirection[MOTOR_COUNT]
エンコーダカウント方向 1 or -1
uint32_t minorLoopForceFilterGain
2次制御ループでの張力用ローパスフィルタゲイン(自然数)
ValueType speedConstant[MOTOR_COUNT]
モータ回転数定数 [rpm/V]
ValueType terminalResistance[MOTOR_COUNT]
モータ端子間抵抗 [ohm]
uint32_t version
ライブラリバージョン
ValueType torqueConstant[MOTOR_COUNT]
モータトルク定数 [Nm/A]
ValueType maxDuration
力提示の最大持続時間 [s]
ValueType majorLoopTimeConstant
1次制御ループでのローパスフィルタ時定数 [s]
ValueType gripPosition[MOTOR_COUNT][3]
グリップの糸接続位置 [m]
ValueType terminalVoltage[MOTOR_COUNT]
モータ端子間電圧 [V]
static const size_t MOTOR_COUNT
モータの数
std::string deviceName
デバイス名
SPIDARデバイスの情報を取得するための構造体です.
uint32_t serialNumber
コントローラ基板シリアル番号
ValueType motorPosition[MOTOR_COUNT][3]
モータの糸引き出し位置 [m]
ValueType pulleyRadius[MOTOR_COUNT]
プーリ半径 [m]
ValueType maxTension[MOTOR_COUNT]
最大張力 [N]
ValueType minTension[MOTOR_COUNT]
最小張力 [N]
ValueType noLoadCurrent[MOTOR_COUNT]
無負荷電流 [A]
ValueType springTension[MOTOR_COUNT]
ぜんまいばねによる張力 [N]
ValueType gripRadius
グリップ半径 [m]