Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Greenline adding pedestrians with an error

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: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> On
Behalf Of Paolo Bolzoni
Sent: September 20, 2019 3:19 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Greenline adding pedestrians with an error

On Fri, Sep 20, 2019 at 9:52 AM <chrisweinhaupl@xxxxxxxxx> 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
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user



Back to the top