forked from SeAIPalette/SeAIPalette
This commit is contained in:
parent
241ac1f9c3
commit
3776f9c2b8
|
@ -29,7 +29,7 @@ class SeaEnvEngine(object):
|
||||||
ship_radius: int,
|
ship_radius: int,
|
||||||
ship_velocity: int,
|
ship_velocity: int,
|
||||||
|
|
||||||
sonar_spread_times: int, # the number of sonar detection points
|
sonar_spread_times: int,
|
||||||
|
|
||||||
obstacles: dict,
|
obstacles: dict,
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ def make(
|
||||||
filling_time: int = 1,
|
filling_time: int = 1,
|
||||||
cover_ratio: float = 1.0
|
cover_ratio: float = 1.0
|
||||||
):
|
):
|
||||||
|
|
||||||
|
|
||||||
with open(os.path.join('Palette', 'maps', f'{env_config}.yaml'), 'r') as f:
|
with open(os.path.join('Palette', 'maps', f'{env_config}.yaml'), 'r') as f:
|
||||||
config = yaml.safe_load(f)
|
config = yaml.safe_load(f)
|
||||||
|
|
Loading…
Reference in New Issue