Commit 3383b56b authored by u214892's avatar u214892
Browse files

passenv XAUTHORITY for benchmarks and profiling

parent aeada434
Pipeline #1353 passed with stage
in 7 minutes and 10 seconds
......@@ -466,8 +466,6 @@ class TreeObsForRailEnv(ObservationBuilder):
]
# #############################
# #############################
new_root_observation = observation[:]
# Start from the current orientation, and see which transitions are available;
# organize them as [left, forward, right, back], relative to the current orientation
# Get the possible transitions
......
......@@ -4,7 +4,6 @@ Definition of the RailEnv environment and related level-generation functions.
Generator functions are functions that take width, height and num_resets as arguments and return
a GridTransitionMap object.
"""
# TODO: _ this is a global method --> utils or remove later
from enum import IntEnum
......@@ -85,7 +84,6 @@ class RailEnv(Environment):
a GridTransitionMap object
rail_from_manual_sp ecifications_generator(rail_spec) : generate a rail from
a rail specifications array
TODO: generate_rail_from_saved_list or from list of ndarray bitmaps ---
width : int
The width of the rail map. Potentially in the future,
a range of widths to sample from.
......
......@@ -20,6 +20,4 @@ def test_grid8_set_transitions():
grid8_map.set_transition((0, 0, Grid8TransitionsEnum.NORTH), Grid8TransitionsEnum.NORTH, 0)
assert grid8_map.get_transitions((0, 0, Grid8TransitionsEnum.NORTH)) == (0, 0, 0, 0, 0, 0, 0, 0)
# TODO GridTransitionMap
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment