Features
This service checks the difference between the current pose and the rotating angle range of the robot end effector. It returns the difference (in rad) between the current pose and the rotating angle range with the algorithm that transforms it to a rotation matrix using the “AngleAxis” technique. It returns True if the difference is positive (+) and False if the difference is negative (-). It is used to check if the difference between the current pose and the rotating angle range is + or -. For example, the function can be used to set the rotating angle range to min and max at any reference position, and then determine the orientation limit by checking if the difference from the current position is + or -. This condition can be repeated with the while or if statement.
-
Setting Min only: True if the difference is + and False if -
-
Setting Min and Max: True if the difference from min is - while the difference from max is + and False if the opposite.
-
Setting Max only: True if the maximum difference is + and False otherwise
Range of rotating angle: This means the relative angle range (min, max) based on the specified axis from a given position based on the ref coordinate.
Parameters
|
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
axis |
int8 |
- |
FORCE_AXIS_X = 0 FORCE_AXIS_Y = 1 FORCE_AXIS_Z = 2 |
|
min |
float64 |
- |
Minimum value |
|
max |
float64 |
- |
Maximum value |
|
ref |
int8 |
1 |
MOVE_REFERENCE_BASE =0 MOVE_REFERENCE_TOOL=1 MOVE_REFERENCE_WORLD=2 MOVE_REFERENCE_USER=101~120 |
|
mod |
int8 |
0 |
MOVE_MODE_ABSOLUTE = 0 MOVE_MODE_RELATIVE = 1 |
|
pos |
float64[6] |
- |
position list |
Return
|
Return Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
success |
bool |
- |
True or False |