diff --git a/env/simple_intersection/simple_intersection_env.py b/env/simple_intersection/simple_intersection_env.py index 58ef9a3a5b9d7a36e9ca75f12d81f9ce7b238fa2..5e3355bc8d3b80df7d294bc0b5c774b34b6125bd 100644 --- a/env/simple_intersection/simple_intersection_env.py +++ b/env/simple_intersection/simple_intersection_env.py @@ -53,8 +53,9 @@ class SimpleIntersectionEnv(RoadEnv, EpisodicEnvBase): # can be set to a specific value which may be different than the default. # TODO: check _cost_weights in both here and ManeuverBase. The _cost_weights has to be substituted to here, but it doesn't sometimes. # TODO: set a functionality of setting _cost_weights for low and high level training separately. - _cost_weights = (10.0 * 1e-3, 10.0 * 1e-3, 0.25 * 1e-3, 1.0 * 1e-3, - 100.0 * 1e-3, 0.1 * 1e-3, 0.05 * 1e-3, 0.1 * 1e-3) + _cost_weights = (0, 0, 0, 0, 0, 0, 0, 0) + #(10.0 * 1e-3, 10.0 * 1e-3, 0.25 * 1e-3, 1.0 * 1e-3, + #100.0 * 1e-3, 0.1 * 1e-3, 0.05 * 1e-3, 0.1 * 1e-3) #TODO: Move this to constants # The empirical min and max of each term in the cost vector, which is used to normalize the values diff --git a/options/simple_intersection/maneuver_base.py b/options/simple_intersection/maneuver_base.py index 01e210db99ad439efea33561ba53cef298bf8193..e43b300a1a16dd7fa689e9c0a2692d81b4af221d 100644 --- a/options/simple_intersection/maneuver_base.py +++ b/options/simple_intersection/maneuver_base.py @@ -30,8 +30,9 @@ class ManeuverBase(EpisodicEnvBase): # as a negative reward, so a cost will be summed up to the reward # with subtraction. # TODO: remove or to provide additional functionality, keep _cost_weights in ManeuverBase here (see other TODOs in simple_intersection_env regarding _cost_weights). - _cost_weights = (10.0 * 1e-3, 10.0 * 1e-3, 0.25 * 1e-3, 1.0 * 1e-3, - 100.0 * 1e-3, 0.1 * 1e-3, 0.05 * 1e-3, 0.1 * 1e-3) + _cost_weights = (0, 0, 0, 0, 0, 0, 0, 0) + #(10.0 * 1e-3, 10.0 * 1e-3, 0.25 * 1e-3, 1.0 * 1e-3, + #100.0 * 1e-3, 0.1 * 1e-3, 0.05 * 1e-3, 0.1 * 1e-3) _extra_r_terminal = None _extra_r_on_timeout = None