Inertia Function
Returns inertia parameter value.
Syntax
Inertia(paramNumber)
Parameters
- paramNumber
- Specify one of the following integer values:
- 0: Causes function to return “1” if robot supports inertia parameters or “0” if not.
- 1: Causes function to return load inertia in kgm2.
- 2: Causes function to return eccentricity in mm.
Return Values
Real value of the specified setting.
See Also
Inertia Statement
For details of Hand control commands, refer to the following manual:
"Hand Function"
Inertia Function Example
Real loadInertia, eccentricity
loadInertia = Inertia(1)
eccentricity = Inertia(2)