Constructor
new KMRotState(position, velocity, torque)
- Source:
constructor
Parameters:
Name | Type | Description |
---|---|---|
position |
number | 座標 |
velocity |
number | 速度 |
torque |
number | トルク |
Extends
Members
(static, readonly) MAX_POSITION :number
- Source:
最大座標定数
Type:
- number
(static, readonly) MAX_SPEED_RADIAN :number
- Source:
最大速度定数(radian/sec)
Type:
- number
(static, readonly) MAX_SPEED_RPM :number
- Source:
最大速度定数(rpm)
Type:
- number
(static, readonly) MAX_TORQUE :number
- Source:
最大トルク定数
Type:
- number
Methods
Clone() → {object}
- Source:
- Overrides:
複製
Returns:
複製された構造体
- Type
- object
EQ(tar) → {boolean}
- Source:
- Overrides:
同じ値を持つかの比較
Parameters:
Name | Type | Description |
---|---|---|
tar |
object | 比較する構造体 |
Returns:
結果
- Type
- boolean
GetValArray() → {Array}
- Source:
- Overrides:
値の取得(配列)
Returns:
- Type
- Array
GetValObj() → {object}
- Source:
- Overrides:
値の取得(Obj)
Returns:
- Type
- object
SetValObj(propsObj)
- Source:
- Overrides:
値の一括設定(Obj)
Parameters:
Name | Type | Description |
---|---|---|
propsObj |
object | 設定するプロパティ |