Skip to content

Commit

Permalink
final reward through the roof
Browse files Browse the repository at this point in the history
  • Loading branch information
jjshoots committed Sep 2, 2024
1 parent 06df049 commit 72f2782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyFlyt/gym_envs/quadx_envs/quadx_ball_in_cup_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def compute_term_trunc_reward(self) -> None:
self.drone_state_error[-1] < self.goal_reach_distance
and self.drone_state_error[-2] < self.goal_reach_velocity
):
self.reward = 1500.0
self.reward = 10000.0
self.termination = True
self.info["env_complete"] = True
return
Expand Down

0 comments on commit 72f2782

Please sign in to comment.