hanruihua / rl_rvo_nav

The source code of the [RA-L] paper "Reinforcement Learned Distributed Multi-Robot Navigation with Reciprocal Velocity Obstacle Shaped Rewards"
MIT License
174 stars 31 forks source link

Visual interface lag issue #25

Closed lynn9966 closed 1 month ago

lynn9966 commented 1 month ago

Hello author, I have gained a lot of knowledge through studying your project. Thank you for sharing. However, I encountered visual interface lag issues during the training process, but the program is still running normally. May I ask where the problem lies? 1

lynn9966 commented 1 month ago

Whenever the second epoch starts, the visualization interface freezes 1

hanruihua commented 1 month ago

Hi

Thank you for your attention to our work.

This issue might be caused by PyCharm. You can refer to this link and try again.

https://stackoverflow.com/questions/70964332/mplot3d-plot-freezes-when-plotting-in-pycharm-professional

lynn9966 commented 1 month ago

Thank you for your reply. I started to solve the problem as soon as you replied. You provided me with direction to solve the problem, and I tried the method of the link you provided. But it was not successful. Furthermore, I have tried other methods along the direction you provided, but have not been successful. I hope I haven't added the wrong location. 1

hanruihua commented 1 month ago

Hi,

I have tested the code in Pycharm and it works for me. You may try to upgrade the pycharm version, or update the matplotlib version.

lynn9966 commented 1 month ago

ok thank you!