Commit d49aa0e 1 parent 5e1305c commit d49aa0e Copy full SHA for d49aa0e
File tree 1 file changed +6
-5
lines changed
tests/integration/envs/general_satellite_tasking/scenario
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -139,18 +139,19 @@ def make_env(self):
139
139
data_manager = data .NoDataManager (),
140
140
sim_rate = 1.0 ,
141
141
max_step_duration = 300.0 ,
142
- time_limit = 300 .0 ,
142
+ time_limit = 1200 .0 ,
143
143
disable_env_checker = True ,
144
144
)
145
145
146
146
def test_desat_action (self ):
147
147
env = self .make_env ()
148
148
env .reset ()
149
149
init_speeds = env .satellite .dynamics .wheel_speeds
150
- env .step (0 ) # Desat
151
- assert np .linalg .norm (env .satellite .dynamics .wheel_speeds ) < np .linalg .norm (
152
- init_speeds
153
- )
150
+ for _ in range (4 ):
151
+ env .step (0 )
152
+ current_speeds = env .satellite .dynamics .wheel_speeds
153
+ assert np .linalg .norm (current_speeds ) < np .linalg .norm (init_speeds )
154
+ init_speeds = current_speeds
154
155
155
156
def test_desat_action_power_draw (self ):
156
157
env = self .make_env ()
You can’t perform that action at this time.
0 commit comments