forked from SeAIPalette/SeAIPalette
This commit is contained in:
parent
9977df32c9
commit
a41ce5d9ac
|
@ -270,11 +270,11 @@ class SeaEnvEngine(object):
|
|||
self._ship_charging[ship_id] = False
|
||||
self._ship_charging_time_left[ship_id] = 0
|
||||
self.ship_body[ship_id].angle = 0.5*np.pi
|
||||
elif action == LEFT:
|
||||
elif action == LEFT:
|
||||
self._ship_charging[ship_id] = False
|
||||
self._ship_charging_time_left[ship_id] = 0
|
||||
self.ship_body[ship_id].angle = np.pi
|
||||
elif action == RIGHT: # right
|
||||
elif action == RIGHT:
|
||||
self._ship_charging[ship_id] = False
|
||||
self._ship_charging_time_left[ship_id] = 0
|
||||
self.ship_body[ship_id].angle = 0.0
|
||||
|
|
Loading…
Reference in New Issue