DoF - a Robotiq Community
Warning sign
The Dof Community was shut down in June 2023. This is a read-only archive.
If you have questions about Robotiq products please reach our support team.
jelms

With a minor tweak I was able to get it to work. Not sure what the original error was. I used 3.6 ursim

Debugging tips: With the UR simulator there are two useful log files:
1. ~/ursim-current/URControl.log
2. ~/ursim-current/log_history.txt

The first one show lower level errors. The second is the same as on the log tab of the UI. But the\
 logs aren't flushed quickly. You can force a flush to the log_history.txt with the clear button o\
n the log tab. This is counter-intuitive I know.

Example error:

tail -f ~/ursim-current/URControl.log

00:05:03:032 ERROR   - RuntimeException: Syntax error on line 1: movej (P[-0.12011338870414279, -0.03284345685543577, 0.8116334436503265, -0.0012210094623466288, 3.1162765278382936, 0.93889180615015442], a=1.3962634015954636, v=1.9471975511965976)
00:05:03:032 ERROR   - TCPReceiver::parseLine: Parse Error: movej (P[-0.12011338870414279, -0.03284345685543577, 0.8116334436503265, -0.0012210094623466288, 3.1162765278382936, 0.93889180615015442], a=1.3962634015954636, v=1.9471975511965976)

00:05:08:536 ERROR   - TCPReceiver closed (exception caught): ServerSocket: Socket::recv() failed.
00:05:08:624 ERROR   - MultiTCPSender send: ServerSocket: Socket::sendall() failed.
00:05:24:584 INFO    - Starting program: movej
00:05:24:592 INFO    - Runtime state change: from PROGRAM_STATE_STOPPED to PROGRAM_STATE_RUNNING
00:05:24:600 ERROR   - Runtime error (1:1): The robot cannot reach the requested pose. Script function getInverse is unable to find an inverse kinematics solution.
00:05:24:608 INFO    - Runtime state change: from PROGRAM_STATE_RUNNING to PROGRAM_STATE_STOPPED
00:05:30:136 ERROR   - TCPReceiver closed (exception caught): ServerSocket: Socket::recv() failed.
00:05:30:216 ERROR   - MultiTCPSender send: ServerSocket: Socket::sendall() failed.

jensss

how can I force that?