Replies: 3 comments 2 replies
-
Which commonroad-io version have you installed? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello teacher, I am using commonroad-io version 2023.4.thanks.---- 回复的原邮件 ----发件人Sebastian ***@***.***>发送日期2024年3月18日 ***@***.***>***@***.***>***@***.***>主题Re: [CommonRoad/commonroad-io] CommonRoad可视化问题 (Discussion #3)Which commonroad-io version have you installed?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Thank you for your guidance!---- 回复的原邮件 ----发件人Sebastian ***@***.***>发送日期2024年3月19日 ***@***.***>***@***.***>***@***.***>主题Re: [CommonRoad/commonroad-io] CommonRoad可视化问题 (Discussion #3)In the meantime you could install manually an older commonroad-io version, e.g., 2022.3.
However, I'm not sure whether this will solve the problem.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When running the scenario (filename = "ZAM_Tjunction-1_42_T-1.xml"), the following error appears in the visualization. How should I solve it.
Traceback (most recent call last):
File "/home/rosnoetic/PycharmProjects/pythonProject/commonroad-reactive-planner-main-DD/run_planner.py", line 152, in
cr_solution, feasibility_list = run_evaluation(planner.config, planner.record_state_list, planner.record_input_list)
File "/home/rosnoetic/PycharmProjects/pythonProject/commonroad-reactive-planner-main-DD/commonroad_rp/utility/evaluation.py", line 41, in run_evaluation
plot_final_trajectory(config.scenario, config.planning_problem, ego_solution_trajectory.state_list, config)
File "/home/rosnoetic/PycharmProjects/pythonProject/commonroad-reactive-planner-main-DD/commonroad_rp/utility/visualization.py", line 185, in plot_final_trajectory
scenario.draw(rnd)
File "/home/rosnoetic/.local/lib/python3.8/site-packages/commonroad/scenario/scenario.py", line 1361, in draw
renderer.draw_scenario(self, draw_params)
File "/home/rosnoetic/.local/lib/python3.8/site-packages/commonroad/visualization/mp_renderer.py", line 466, in draw_scenario
o.draw(self, draw_params.dynamic_obstacle)
File "/home/rosnoetic/.local/lib/python3.8/site-packages/commonroad/scenario/obstacle.py", line 735, in draw
renderer.draw_dynamic_obstacle(self, draw_params)
File "/home/rosnoetic/.local/lib/python3.8/site-packages/commonroad/visualization/mp_renderer.py", line 617, in draw_dynamic_obstacle
obj.prediction.trajectory.draw(self, draw_params.trajectory)
File "/home/rosnoetic/.local/lib/python3.8/site-packages/commonroad/scenario/trajectory.py", line 285, in draw
renderer.draw_trajectory(self, draw_params)
File "/home/rosnoetic/.local/lib/python3.8/site-packages/commonroad/visualization/mp_renderer.py", line 760, in draw_trajectory
collections.EllipseCollection(
File "/usr/lib/python3/dist-packages/matplotlib/collections.py", line 1706, in init
Collection.init(self, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/collections.py", line 162, in init
self.update(kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 974, in update
ret = [_update_property(self, k, v) for k, v in props.items()]
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 974, in
ret = [_update_property(self, k, v) for k, v in props.items()]
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 969, in _update_property
raise AttributeError('{!r} object has no property {!r}'
AttributeError: 'EllipseCollection' object has no property 'offset_transform'
Beta Was this translation helpful? Give feedback.
All reactions