The device assignment looks fine (though you could simplify it by defining ' <param key="has.glosa.device" value="true"/>') as a child element of the <vType>). What kind of error / problems are you seeing?
Am Mi., 2. März 2022 um 21:11 Uhr schrieb Nathan Clark <[email protected]>: > Hi Jakob, > > Thank you for the quick response, > > I have already seen that document and I believe that I am still not > implementing it correctly, > > I have inserted a basic script from my route file below, is it possible > that you could point out the mistake that I am making? > > Thank you very much for your help, > > Nathan > > <routes> > > <vType id="car" > vClass="passenger" length="5" accel="3.5" decel="2.2" > sigma="1.0" maxSpeed="10"/> > > > > > <route id="route_0" edges="E1 E2 E3 E4 E5" /> > <!--<flow id="carflow" type="car" beg="0" end="0" number="5" > from="e1" to="e8"/>--> > > > <vehicle id="0" type="car" route="route_0" depart="0"> > <param key="has.glosa.device" value="true"/> > </vehicle> > <vehicle id="1" type="car" route="route_0" depart="2"> > <param key="has.glosa.device" value="true"/> > </vehicle> > <vehicle id="2" type="car" route="route_0" depart="4"> > <param key="has.glosa.device" value="true"/> > </vehicle> > > </routes> > > On Wed, Mar 2, 2022 at 6:32 PM Jakob Erdmann <[email protected]> > wrote: > >> Hello, >> - in case you were not aware of this, SUMO already supports a glosa >> device that works without TraCI and can be enabled via options or xml >> inputs: https://sumo.dlr.de/docs/Simulation/GLOSA.html >> - SUMO does not model a communication layer. If you want to implement >> your own GLOSA functions, you can use TraCI to retrieve any possible >> information from vehicles and infrastructure and to update vehicle behavior >> accordingly. Any kind of impediment to communication (i.e. due to range or >> interference) must be code explicitly by the TraCI client (you) >> >> regards, >> Jakob >> >> Am Mi., 2. März 2022 um 17:08 Uhr schrieb Nathan <[email protected]>: >> >>> Hello all, >>> >>> >>> >>> I am wanting to implement a GLOSA device into my simulation, I have been >>> trying to follow the SUMO documentation, however I am finding it difficult >>> to add this into my simulation. >>> >>> >>> >>> I believe that I will need to be using TRACI to enable the vehicles and >>> the traffic lights to be able to communicate, is it possible that I can be >>> directed as to how to enable this communication to happen? >>> >>> >>> >>> Thank you in advance >>> >>> >>> >>> Nathan >>> >>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
