Skip to content

Commit

Permalink
Merge branch 'dev' into mc24_p2
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylwang20 authored Sep 18, 2024
2 parents 8cdfe5b + f664496 commit e26326a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions myosuite/envs/myo/myochallenge/bimanual_v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ def get_reward_dict(self, obs_dict):
elbow_err = 5 * np.exp(-10 * (obs_dict['elbow_fle'][0] - 1.) ** 2) - 5
goal_dis = np.array(
[[np.abs(np.linalg.norm(obj_pos[:2] - goal_pos, axis=-1))]])

isTimeLimit = obs_dict['time'] > 3.0

rwd_dict = collections.OrderedDict(
(
# Optional Keys
Expand Down

0 comments on commit e26326a

Please sign in to comment.