During some testing with the Python API, I realized that pulling the pose from a running robot (repeatedly and writing it to a CSV) seems to work using Python 3.12 via PyCharm on macOS 14.5, robot is a KUKA KR 30 HA being connected via kukabridge. With 10 ms as the defined interval however, the time between to timestamps ranged mostly between 30 ms and 55 ms, which might be attributed to hardware constraints/my inefficient code.
While trying on a Virtual Machine (Windows 11 23H2, also Python 3.12 via PyCharm), the code was not able to get the current pose of the robot. Interestingly, it was still possible in RoboDK to update to the correct position using the corresponding button in the "Connect Robot" field.
Despite this being a niche thing, did somebody encounter a similar phenomenon? Firewall was already deactivated, RoboDK was 5.7.1 & 5.7.4.
Long term goal would be to pull the orientation of the TCP as well as data from an attached scanner already synced via KUKA RSI if possible, and this in the domain of 50 Hz+. As somebody might have already experience, I'd be very happy to receive tips if I am possibly already on the wrong track with my approach.
Already thanks in advance and very kind regards,
Bene
While trying on a Virtual Machine (Windows 11 23H2, also Python 3.12 via PyCharm), the code was not able to get the current pose of the robot. Interestingly, it was still possible in RoboDK to update to the correct position using the corresponding button in the "Connect Robot" field.
Despite this being a niche thing, did somebody encounter a similar phenomenon? Firewall was already deactivated, RoboDK was 5.7.1 & 5.7.4.
Long term goal would be to pull the orientation of the TCP as well as data from an attached scanner already synced via KUKA RSI if possible, and this in the domain of 50 Hz+. As somebody might have already experience, I'd be very happy to receive tips if I am possibly already on the wrong track with my approach.
Already thanks in advance and very kind regards,
Bene