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
In the Fetchxxx-Env, the env's distance_threshold is set as 0.05 default to determine whether a task is completed successfully. I try to modify it by using env.distance_threshold = 0.01(or other value) because I think 0.05m is too rough for some tasks. But it doesn't work! (When the success_rate is 1.0, the distance between the achieved_goal and the desired_goal is 0.04x, which is larger than I set.)
How should I do to change the conditions for determining whether a task is complete?
The text was updated successfully, but these errors were encountered:
You can change it directly into the library of gym.
Go to /path/to/lib/python3.9/site-packages/gym/envs/robotics/fetch/reach.py. There you can modify the distance_threshold, object_range and target_range. Also the position of the robot in the robot0:slide0,1,2 variable about x,y,z respectively.
I don't know how to set the variable directly in env but hope this ca help 👍
In the Fetchxxx-Env, the env's distance_threshold is set as 0.05 default to determine whether a task is completed successfully. I try to modify it by using
env.distance_threshold = 0.01(or other value)
because I think 0.05m is too rough for some tasks. But it doesn't work! (When the success_rate is 1.0, the distance between the achieved_goal and the desired_goal is 0.04x, which is larger than I set.)How should I do to change the conditions for determining whether a task is complete?
The text was updated successfully, but these errors were encountered: