Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Get and Update Calibrated Values via API

#1
Hello,

Is there a way to access and update calibrated robot data (boxed in pink below) via the Python API? I tried using 
Code:
robot.setParam(param="SaveTableCalib", value=path)
where path is a path to a csv file on my repo, but nothing happened.

robot_cal_data.png   
#2
It is not possible to import or export the robot DHM parameters. On the other hand, you can import or export the robot calibration measurements.

The following example shows how you can import/export the robot calibration measurements:
Code:
# get the table values:
from robodk import robomath
values = robomath.Mat() # Empty 2D matrix
table = "CALIB_TARGETS"
result = calib.setParam(table, values)
# The result is the 2D matrx

# Set the table values:
calib.setParam(table, values)

Valid table values are:
  • BASE_SETUP: Measurements used for the base setup
  • TOOL_SETUP: Measurements used for the tool setup
  • CALIB_RAIL: Measurements used for rail calibration 
  • CALIB_TARGETS: Measurements used for robot calibration
  • VALID_TARGETS: Mesurements used for validation
#3
Thank you Albert. I will review your response with my team and possibly follow with more questions :)
#4
Thank you for your feedback, let us know if you need more help :)
  




Users browsing this thread:
1 Guest(s)