Features
This function returns the current target joint angle. It cannot be used in the movel, movec, movesx, moveb, move_spiral, or move_periodic command.
Return
|
Value |
Description |
|---|---|
|
posj |
Joint angle |
Exception
|
Exception |
Description |
|---|---|
|
DR_Error (DR_ERROR_RUNTIME) |
C extension module error occurred |
|
DR_Error (DR_ERROR_INVALID) |
Invalid command |
Example
Python
jp1 = get_desired_posj()