External Tool Finishing Kit - Instruction Manual
Force and torque script functions
Force Torque Sensor functions are made available in the Script drop-down menu.
l
The rq_zero_sensor() function can be called at any point in a robot program to zero the force and torque values of the Force Torque
Sensor.
l
The get_sensor_Fx(), get_sensor_Fy(), get_sensor_Fz(), get_sensor_Mx(), get_sensor_My(), get_sensor_Mz() functions allow the user
to assign the sensor values to any variable.
l
The get_applied_tcp_force(<index>) function returns the current wrench (force and torque vector) value currently applied at the tool
center point (TCP).
l
The get_applied_base_force(<index>) function returns the current wrench (force and torque vector) value applied at the robot arm
base.
l
The express_force_in_frame(<T_from_to>,<wrench_from>)function is used to convert the wrench (force and torque vector) reading
in a given reference frame into another (end-effector to robot base, and vice-versa, for example).
l
T_from_to = relative pose of the reference frame into which the wrench reading is converted
l
wrench_from = wrench to transform in pose or list format (Fx, Fy, Fz, Mx, My, Mz)
Fig. 4-33: Example of two reference frames for the express_force_in_frame (<T_from_to>, <wrench_from>) function
Info
Although displayed in real time in the Variables tab, the force and torque values can be seen in the Finishing Copilot
Dashboard. Note that the force and torque values, in the Installation tab, are those of the tool flange.
95