Skip to content

Commit

Permalink
Targets above the ground
Browse files Browse the repository at this point in the history
  • Loading branch information
kidzik committed Jul 28, 2019
1 parent 22cd0bc commit bffb4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osim/env/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def generate_new_target(self):
theta = random.uniform(math.pi*9/8, math.pi*12/8)
radius = random.uniform(0.5, 0.65)
self.target_x = math.cos(theta) * radius
self.target_y = math.sin(theta) * radius
self.target_y = math.sin(theta) * radius + 0.8

state = self.osim_model.get_state()

Expand Down

0 comments on commit bffb4b0

Please sign in to comment.