You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To test the IK algorithm I implemented a test function in 03d651b. The function chooses a random desired point in a bounded space beneath the robot where the tcp should be positioned (calls set_tcp_pos(), however the same can be achieved by calling env.calculateOfflineIK(world_point, np.array([0, 1, 0, 0])) instead of set_tcp_pos(world_point, hard_set=True) in line 132).
When using the original implementation of IK that handles overshooting by limiting dt the failure rate was 30.6% for a failure threshold of 0.3 or 0.2. Commenting out the overshooting condition results in a failure rate of 2.8% for threshold of 0.2 and 0% for threshold of 0.3.
Testing setup in fancy_gym/examples/examples_general.py
To test the IK algorithm I implemented a test function in 03d651b. The function chooses a random desired point in a bounded space beneath the robot where the tcp should be positioned (calls
set_tcp_pos()
, however the same can be achieved by callingenv.calculateOfflineIK(world_point, np.array([0, 1, 0, 0]))
instead ofset_tcp_pos(world_point, hard_set=True)
in line 132).When using the original implementation of IK that handles overshooting by limiting
dt
the failure rate was 30.6% for a failure threshold of 0.3 or 0.2. Commenting out the overshooting condition results in a failure rate of 2.8% for threshold of 0.2 and 0% for threshold of 0.3.Testing setup in
fancy_gym/examples/examples_general.py
The text was updated successfully, but these errors were encountered: