Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Simpla Example

Hi Jakob,

Many thanks for your response.

I am still having issues, vehicles will not change lanes to join platoons, and I am doubtful that platoons are being created at all. 
I have tried variations of different depart lanes, vType attributes (vClass, sigma, etc.), Simpla config settings (catchupDist, maxPlatoonGap, etc.) but no luck. Any ideas?

Here is my updated route file and Simpla config file:
<?xml version="1.0" encoding="UTF-8"?>

<routes>
    <vType id="human" vClass="passenger" emissionClass="HBEFA3/PC_G_EU4" sigma="0.5" minGap="2.5"/>
    <vType id="orig_simpla" vClass="evehicle" emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="leader_simpla" vClass="evehicle" emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="follower_simpla" vClass="evehicle" emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="catchup_simpla" vClass="evehicle" emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="catchupF_simpla" vClass="evehicle" emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>

<route id="straight" edges="e1 e2 e3"/>
<route id="exit" edges="e1 e2 e4"/>

    <!-- Red -->
    <vehicle id="auto_straight_0" type="orig_simpla" route="straight" depart="0" departLane="0" departSpeed="0" color="1,0,0"></vehicle>
    <vehicle id="auto_straight_1" type="orig_simpla" route="straight" depart="0" departLane="0" departSpeed="0" color="1,0,0"></vehicle>
    <vehicle id="auto_straight_2" type="orig_simpla" route="straight" depart="4" departLane="1" departSpeed="0" color="1,0,0"></vehicle>

</routes>
--------------------------------------
<configuration>
    <controlRate value="1.0"/>
    <maxPlatoonGap value="15.0"/>
    <catchupDist value="50.0"/>
    <switchImpatienceFactor value="0.1"/>
    <platoonSplitTime value="3.0"/>
    <lcMode catchupFollower="514" catchup="514" follower="514" leader="597" original="597"/>
    <speedFactor catchupFollower="1.3" catchup="1.2" follower="1.1" leader="1.0" original="1.0"/>
    <verbosity value="1"/>
    <vTypeMap original="orig_simpla" leader="leader_simpla" follower="follower_simpla" catchup="catchup_simpla" catchupFollower="catchupF_simpla"/>
</configuration>


From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: 23 April 2019 15:35
To: sumo-user@xxxxxxxxxxx
Subject: Re: [sumo-user] Simpla Example
 
The vTypeMap declaration requires the vType ids that are loaded in the input
file for the 'original' attribute. This means your <vehicle> definitions
should all use type="orig_simpla".
The other types (leader_simpla etc) are then assigned dynamically by simpla.


George Burslem wrote
> Hi,
>
> I am trying to implement the Simpla platooning plugin for TraCI Python.
> TraCI appears to be working correctly and it is loading my Simpla config
> file.
>
> The simulation is running without errors, however the vehicles do not
> appear to be platooning. Follower vehicles are not staying in the same
> lane as the leader and they also overtake the leader. Below is my file
> setup, can you see what I am doing wrong? Does anyone have any basic
> examples?
>
> I would greatly appreciate any help with this!
>
> Simpla Config File:
> <configuration>
>    
> <controlRate value="1.0"/>
>    
> <maxPlatoonGap value="15.0"/>
>    
> <catchupDist value="50.0"/>
>    
> <switchImpatienceFactor value="0.1"/>
>    
> <platoonSplitTime value="3.0"/>
>    
> <lcMode catchupFollower="514" catchup="514" follower="514" leader="597"
> original="597"/>
>    
> <speedFactor catchupFollower="1.3" catchup="1.2" follower="1.1"
> leader="1.0" original="1.0"/>
>    
> <verbosity value="1"/>
>    
> <vTypeMap original="orig_simpla" leader="leader_simpla"
> follower="follower_simpla"  catchup="catchup_simpla"
> catchupFollower="catchupF_simpla"/>
> </configuration>
> Route File:
> <routes>
>    
> <vType id="orig_simpla"/>
>    
> <vType id="leader_simpla"/>
>    
> <vType id="follower_simpla"/>
>    
> <vType id="catchup_simpla"/>
>    
> <vType id="catchupF_simpla"/>
>
> <route id="route0" edges="0to1 1to2 2to3 3to4 4to5 5to6 6to7 7to8 8to9
> 9to10"/>
>    

>    
> <vehicle id="purp" vType="leader_simpla" type="leader_simpla"
> route="route0" depart="0" departLane="0" color="1,0,1">
> </vehicle>
>    

>    
> <vehicle id="green" vType="follower_simpla" type="follower_simpla"
> route="route0" depart="0" departLane="1" color="0,1,0">
> </vehicle>
>    

>    
> <vehicle id="blue" vType="follower_simpla" type="follower_simpla"
> route="route0" depart="0" departLane="1" color="0,0,1">
> </vehicle>
>
> </routes>
>
>
> _______________________________________________
> sumo-user mailing list

> sumo-user@

> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user





--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
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