Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary reset counter in sectorCRenv #11

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions bluesky_gym/envs/sector_cr_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def __init__(self, render_mode=None, ac_density_mode="normal"):
self.window_height = 512
self.window_size = (self.window_width, self.window_height) # Size of the rendered environment
self.density_mode = ac_density_mode
self.reset_counter = 0
self.poly_name = 'airspace'
# Feel free to add more observation spaces
self.observation_space = spaces.Dict(
Expand Down Expand Up @@ -113,8 +112,6 @@ def reset(self, seed=None, options=None):
if self.render_mode == "human":
self._render_frame()

self.reset_counter += 1

return observation, info

def step(self, action):
Expand Down