[Motion86]
説明
Get the position of the machine in the workspace.
構文
machine.getActualPos(axis);
machine.getActualPos(x, y, z);
媒介変数
machine
: the machine object.axis
: the motion axis to get the position, it can be AXIS_X, AXIS_Y or AXIS_Z.x
: the target position of X-axis.y
: The target position of Y-axis.z
: The target position of Z-axis.
戻り値
getActualPos(axis)
: double: return the position of the motion axis.getActualPos(x, y, z)
: no return value, directly use the reference to get the X, Y, Z axis position.
See also
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。