Skip to content

Commit

Permalink
Fix warnings on env.unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
amacati committed Dec 13, 2024
1 parent ca0d442 commit 9237ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def main(config: str = "level3.toml", controller: str | None = None):
start_time = time.perf_counter()
while not rospy.is_shutdown():
t_loop = time.perf_counter()
obs, info = env.obs, env.info
obs, info = env.unwrapped.obs, env.unwrapped.info
action = controller.compute_control(obs, info)
next_obs, reward, terminated, truncated, info = env.step(action)
controller.step_callback(action, next_obs, reward, terminated, truncated, info)
Expand Down

0 comments on commit 9237ee2

Please sign in to comment.