Closed tinmodeHuang closed 3 years ago
The agent.shape is not transformed but always the base shape. Need to use agent.GetPolygonFromState(agent.state)
Should change the IF in the future to agent.GetPolygonFromState()
all right. besides, could you please have a look at #505
purpose: calculating the distances between any two agents. the snippet modified in the
graph_observer.py
as shown below:the way to do it shows as the last lines of statements above. outputs in the terminal were all normal except that the distance is laways zero.