๐ŸŒ KR

Description

  • IndReset is a component that recalculates and reassigns the positionerโ€™s joint angles to the nearest feasible configuration based on the selected optimization mode. Supported modes include Short, Forward, and Backward, each providing a different strategy for minimizing angular displacement. Additionally, the resulting angles can be constrained or guided using a user-defined RefDegree parameter for more controlled posture resetting.

Input

  • MechUnit : Specifies the name of the actual positioner robot. (Default is STN1)
  • AxisNum : Specifies the index of the axis to be reset.

Built-in Param | IndReset

  • RefDegree : Defines the target angle value for resetting. The positionerโ€™s current posture will be redefined to the nearest possible configuration relative to this angle.
  • ResetType : Determines the angle reset strategy based on the selected option. (Refer to the table for details)

ResetType Description
Short ๊ฐ€์žฅ ์งง์€ ๊ฐ๋„ ๊ฐ’์œผ๋กœ ํ˜„์žฌ ์ถ• ๊ฐ๋„ ๊ฐ’ ์žฌ์ •์˜.
Fwd ํ˜„์žฌ ์ถ• ๊ฐ๋„ ๊ฐ’์„ 360๋„๋กœ ๋‚˜๋ˆˆ ๋‚˜๋จธ์ง€ ๊ฐ๋„ ๊ฐ’ ๊ธฐ์ค€์œผ๋กœ ์žฌ์ •์˜, i.e., Angle % 360.
Bwd ํ˜„์žฌ ์ถ• ๊ฐ๋„ ๊ฐ’์„ 360๋„๋กœ ๋‚˜๋ˆˆ ๋‚˜๋จธ์ง€ ๊ฐ๋„๊ฐ’์„ 360๋„์—์„œ ๋บธ ๊ฐ’์„์„ ๊ธฐ์ค€์œผ๋กœ ์žฌ์ •์˜360ยฐ - (Angle % 360).

Output

  • Instructions : Outputs a IndReset instruction defined based on the given input conditions.