Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BIT-MCS/DRL-eFresh
/ __trans
Method
__trans
common/image/draw_util.py:25–26 ·
view source on GitHub ↗
(self, x, y)
Source
from the content-addressed store, hash-verified
23
return
map[x][y]
24
25
def
__trans(self, x, y):
26
return
int(4 * x + 8), int(y * 4 + 8)
27
28
def
draw_obstacle(self, x, y, width, height, map):
29
# self.clear_cell(x, y, map)
Callers
6
get_value
Method · 0.95
draw_obstacle
Method · 0.95
draw_point
Method · 0.95
clear_point
Method · 0.95
draw_UAV
Method · 0.95
clear_cell
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected