Create operator that swaps euler coordinates
| <link>.swapEuler( | |
| [yaw,pitch,roll] | |
| priority = 0 | |
| target = viz.LINK_FULL_OP |
)
[yaw,pitch,roll]
The swap indices
priority = 0
Priority of operator
target = viz.LINK_FULL_OP
One of the following values:
Link operator targets |
|
viz.LINK_FULL_OP |
The operator will be applied to combined data of the link. |
viz.LINK_POS_OP |
The operator will be applied to position data of the link. |
viz.LINK_ORI_OP |
The operator will be applied to orientation data of the link. |
This command will create an operator that will swap the euler coordinates of the incoming matrix based on the specified swap indices. The indices are 1-based, so 1 refers to the yaw, 2 is pitch, and 3 is roll. Negative indices will negate the incoming value.
Operator object