You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
In the code crowdnav in the evaluation section, there is a trajectory display of people's movements, but in your code, this section has been removed and you have also used it in your article. How can we show a trajectory?
Thanks
The text was updated successfully, but these errors were encountered:
First, we added a variable in the crowd_sim environment to store the x and y positions of all agents from the beginning of an episode.
Then, when done is True, we interpolated the trajectory of each agent, and generated a new plot with the interpolated lines and the stored x-y positions.
Finally, save the plot to the computer.
First, we added a variable in the crowd_sim environment to store the x and y positions of all agents from the beginning of an episode. Then, when done is True, we interpolated the trajectory of each agent, and generated a new plot with the interpolated lines and the stored x-y positions. Finally, save the plot to the computer.
Does it help?
Thanks for the explanation
But I could not implement this in your code. In the previous code, it is possible to save the trajectory and video in the render function, but in your code, this part has been removed.
Is it possible to add this part to the code?
Hi
In the code crowdnav in the evaluation section, there is a trajectory display of people's movements, but in your code, this section has been removed and you have also used it in your article. How can we show a trajectory?
Thanks
The text was updated successfully, but these errors were encountered: