Hello,
this warning is related to SUMO’s netconvert (see here)
So some more information would be helpful: did you use the script as it is or with another net file or did you change any parameters? What SUMO version are you using?
I moved on but met another bug:
Do you have some suggestions?
Warning: Could not write OpenDRIVE geoReference. Only unshifted Coordinate systems are supported (offset=-691600.34,-5363834.90)
Traceback (most recent call last):
File “/home/kailin/PycharmProjects/commonroad-sumo-interface/example_scripts/create_scenario_files.py”, line 48, in
scenario = ScenarioWrapper.full_conversion_from_net(net_file, dt, n_vehicles_max, n_ego_vehicles, ego_ids, ego_start_time, departure_time_ego, departure_interval_vehicles,veh_per_second)
File “/home/kailin/PycharmProjects/commonroad-sumo-interface/sumo2cr/maps/sumo_scenario.py”, line 139, in full_conversion_from_net
cr_map_file = convert_net_to_cr(net_file, out_folder)
File “/home/kailin/PycharmProjects/commonroad-sumo-interface/sumo2cr/maps/util.py”, line 58, in convert_net_to_cr
scenario = road_network.export_commonroad_scenario()
File “/home/kailin/anaconda3/envs/commonroad-py36/lib/python3.6/site-packages/opendrive2lanelet/network.py”, line 133, in export_commonroad_scenario
else [“driving”, “onRamp”, “offRamp”, “exit”, “entry”]
File “/home/kailin/anaconda3/envs/commonroad-py36/lib/python3.6/site-packages/opendrive2lanelet/network.py”, line 91, in export_lanelet_network
lanelet = parametric_lane.to_lanelet()
File “/home/kailin/anaconda3/envs/commonroad-py36/lib/python3.6/site-packages/opendrive2lanelet/plane_elements/plane_group.py”, line 165, in to_lanelet
copy.deepcopy(self), left_vertices, center_vertices, right_vertices, self.id_
File “/home/kailin/anaconda3/envs/commonroad-py36/lib/python3.6/site-packages/opendrive2lanelet/conversion_lanelet.py”, line 66, in init
line_marking_right_vertices,
File “/home/kailin/anaconda3/envs/commonroad-py36/lib/python3.6/site-packages/commonroad/scenario/lanelet.py”, line 170, in init
self.line_marking_left_vertices = line_marking_left_vertices
File “/home/kailin/anaconda3/envs/commonroad-py36/lib/python3.6/site-packages/commonroad/scenario/lanelet.py”, line 318, in line_marking_left_vertices
type(line_marking_left_vertices))
AssertionError: <Lanelet/line_marking_left_vertices>: Provided lane marking type of left boundary is not valid! type = <class ‘float’>
It looks like there is a problem with the intermediate OpenDrive file.
Could you send me the xodr file which was written to the scenario folder and the net file you wanted to convert?
Which netconvert version are you using?
There seems to be an incompatibility of the latest commonroad-io version with the opendrive2lanelet converter. As a quick fix, you could downgrade with