What is this situation?
I am currently working on digital twins and have written two scripts each (one script is responsible for driving the joint to run, and the other script is responsible for determining the position and status signal of the joint). However, unfortunately, when moving the joint, it did not reach the target position, which is an error! I want to know how to solve this problem
Hy,
try compare the values with following method:
def isclose(a, b, rel_tol=1e-09, abs_tol=0.0):
return abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol)
Cames from:
Regards
Feature