Skip to content
Snippets Groups Projects
Commit 5ab5adfd authored by hagrid67's avatar hagrid67
Browse files

fixed an error from the merge.

parent ffb1e5e2
No related branches found
No related tags found
No related merge requests found
...@@ -196,8 +196,6 @@ class RenderTool(object): ...@@ -196,8 +196,6 @@ class RenderTool(object):
rcDir = rt.gTransRC[iDir] # agent direction in RC rcDir = rt.gTransRC[iDir] # agent direction in RC
xyDir = np.matmul(rcDir, rt.grc2xy) # agent direction in xy xyDir = np.matmul(rcDir, rt.grc2xy) # agent direction in xy
xyDirLine = array([xyPos, xyPos + xyDir / 2]).T # line for agent orient.
self.gl.plot(*xyDirLine, color=sColor, lw=5, ms=0, alpha=0.6)
xyPos = np.matmul(rcPos - rcDir / 2, rt.grc2xy) + rt.xyHalf xyPos = np.matmul(rcPos - rcDir / 2, rt.grc2xy) + rt.xyHalf
self.gl.scatter(*xyPos, color=color, size=40) # agent location self.gl.scatter(*xyPos, color=color, size=40) # agent location
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment