Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Simpla Platooning

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?

I appreciate any help on this as resources on Simpla beyond the documentation is hard find. 

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

<routes>

    <vType id="orig_simpla" vClass="evehicle" sigma="0.0"/>
    <vType id="leader_simpla" vClass="evehicle" sigma="0.0"/>
    <vType id="follower_simpla" vClass="evehicle" sigma="0.0"/>
    <vType id="catchup_simpla" vClass="evehicle" sigma="0.0"/>
    <vType id="catchupF_simpla" vClass="evehicle" sigma="0.0"/>


    <vehicle id="0" vType="leader_simpla" depart="0" color="0,1,0">
        <route edges="0to1 1to2 2to3 3to4 4to5 5to6 6to7 7to8 8to9 9to10"/>
    </vehicle>
    <vehicle id="1" vType="follower_simpla" depart="0" color="1,0,0">
        <route edges="0to1 1to2 2to3 3to4 4to5 5to6 6to7 7to8 8to9 9to10"/>
   </vehicle>

</routes>

And here is my Simpla config file:
<configuration>
    <vehicleSelectors value="simpla" />
    <vTypeMap original="orig_simpla" leader="leader_simpla" follower="follower_simpla"  catchup="catchup_simpla" catchupFollower="catchupF_simpla"/>
    <maxPlatoonGap value="100"/>
</configuration>

Many thanks,
George

Back to the top