Hi:
I try to use the Module “visualize” in directory /commonroad_rl/tools/visualize_cr.py.
In Line 22, the code says:
from commonroad.visualization.plot_helper import (
set_non_blocking,
redraw_obstacles,
draw_object,
)
But the code checker tells me the "commonroad.visualization.plot_helper "can’t be found.
I run the code in VS code, and have pip install the commonroad-all and commonroad-io.
So, could you give me some hint or instructions on what i should do?
Thanks.
This version of “visualize_cr.py” in commonroad_rl/tools seems need to import commonroad.visualization.plot_helper.But there is no such module under my commonroad.
I have already tried the latest version for commonroad_rl.
It seems work on my laptop. But with the latest version of commonroad_rl, my test data results changed a lot.
So I wonder if there were some old version of commonraod have commonroad.visualization.plot_helper then i can go on with the old version.
Thanks.
this version of commonroad-io still has plot_helper: commonroad/visualization · release_2021.1 · tum-cps / commonroad-io · GitLab. However, you would need to downgrade also other commonroad modules to be compatible with this version of commonroad-io. Therefore, I would suggest you upgrade commonroad-rl to the current version. Also, the current version has more bug fixes and features than the old ones.