Perfect 

Thank you Jakob.

 

Next on my list to have the pedestrians use the car instead of walking.

 

Cheers

 

 

 

From: [email protected] <[email protected]> On Behalf 
Of Jakob Erdmann
Sent: September 20, 2019 5:00 AM
To: Sumo project User discussions <[email protected]>
Subject: Re: [sumo-user] Greenline adding pedestrians with an error

 

Hello,

1) the error message " Error: The class for vType 'car' is not known." should 
only ever be generated by an input like this: <vType id="something" 
vClass="car" .../>. For a list of permitted vClass values, see 
https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#abstract_vehicle_class

 

2) the error " Error: Unknown person mode 'public,car' for person '0';" is 
caused by the use of ','m as list separator. use 'mode="public car"' instead.

 

3) the <vType> element does not support the attribute 'type'

 

regards,

Jakob

 

Am Fr., 20. Sept. 2019 um 11:43 Uhr schrieb <[email protected] 
<mailto:[email protected]> >:


Current:
<vType id="car" type="car" length="5" accel="3.5" decel="2.2" sigma="1.0"/>

Suggested:
<vType id="car"  length="7.1" accel="1.3" decel="4" sigma="1.0"
guiShape="truck" color="red" />

Maybe its not reading in rou.xml? from sumocfg file. Or its just failing
while reading rou.xml?
    <input>
        <net-file value="Greenline_LRT_Baseline_00.net.xml"/>
        <route-files value="Greenline_LRT_Baseline_00.rou.xml"/>
        <additional-files
value="Greenline_LRT_Baseline_00_rerouter.net.xml,trips.trips.xml"/>
    </input>


Error:
----------------------------------------------------------------------------
------------
Loading configuration... done.
Loading net-file from
'C:\Sumo_Projects\Greenline_LRT_Baseline_00\Greenline_LRT_Baseline_00.net.xm
l'... done (27ms).
Loading additional-files from
'C:\Sumo_Projects\Greenline_LRT_Baseline_00\Greenline_LRT_Baseline_00_rerout
er.net.xml'... done (9ms).
Loading additional-files from
'C:\Sumo_Projects\Greenline_LRT_Baseline_00\trips.trips.xml'... 
Error: The class for vType 'car' is not known.
Error: Unknown person mode 'public,car' for person '0';
 must be a combination of ("car", "bicycle" or "public")
Loading of additional-files failed.
Quitting (on error).







-----Original Message-----
From: [email protected] <mailto:[email protected]>  
<[email protected] <mailto:[email protected]> > On
Behalf Of Paolo Bolzoni
Sent: September 20, 2019 3:19 AM
To: Sumo project User discussions <[email protected] 
<mailto:[email protected]> >
Subject: Re: [sumo-user] Greenline adding pedestrians with an error

On Fri, Sep 20, 2019 at 9:52 AM <[email protected] 
<mailto:[email protected]> > wrote:
> Error: The class for vType 'car' is not known.

About this one I would say you are missing the car vType.

Try to add a line like this one in your route xml file:
<vType id="car"  length="7.1" accel="1.3" decel="4" sigma="1.0"
guiShape="truck" color="red" />
(the data is from trucks actually, but it gives a quick way to check if the
error is indeed there) _______________________________________________
sumo-user mailing list
[email protected] <mailto:[email protected]> 
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[email protected] <mailto:[email protected]> 
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to