Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Question
  • From: <yun-pang.floetteroed@xxxxxx>
  • Date: Mon, 4 Aug 2025 12:11:35 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-data: A9a23:VeuDS6gvtAk3JSIpdLFt4D3nX161DhEKZh0ujC45NGQN5FlHY01je htvUGCAa66IYGf2fNB+bY+2pEsAvJTWy95iSFRtpSE1HyNjpJueD7x1DKtR0wB+jCHnZBg6h ynLQoCYdKjYdleF+FH1dOKn9CAmvU2xbuKUIPbePSxsThNTRi4kiBZy88Y0mYcAbeKRWmthg vus5ZSAULOZ82QsaD9Mu/ra8EkHUMna4Vv0gHRvPZing3eDzxH5PLpHTYmtIn3xRJVjH+LSb 47r0LGj82rFyAwmA9Wjn6yTWhVirmn6ZFXmZtJ+AsBOszAazsAA+v9T2Mk0NS+7vw60c+VZk 72hg3ARpTABZcUgkMxFO/VR/roX0aduoNcrKlDn2SCfItGvn9IBDJyCAWlvVbD09NqbDklv0 fw6DGsmYymBoNCYmKq5T+NhrJ4seZyD0IM34hmMzBn1KdoLb77mYoDyv4N17Bx2h8ZSB/+Ya 84DLzZiBPjCS0QXfA5HVNRnx7fu3CWXnz5w8Tp5oYIm/m6W1AV33/7jNN3YZsCHX8JYkm6Uo niA82mR7hQyaYLPkmfcqSrEaunnhSXSc9keDbqD9PNUh1269k4+BCcTbA7uyRW+ogvkMz5FE GQP5y8p6LUp+VaDQ9L5XgWjrTiDpBF0c99ZCeY37EeC16vRyxuBDS4JQiMpVTA9nMMySTEk2 FqImsuzWTF/u/uUT26H//GYqSn0NSV9wXI+WBLohDAtu7HLyLzfRDqWJjq/OMZZVuHIJAw=
  • Ironport-hdrordr: A9a23:nlmimq1NTPbvkjo6fU8/gQqjBJQkLtp133Aq2lEZdPUMSL3/qy iv9M506faGskdpZJhAo6H8BEDuewK/yXcY2+Us1PKZLW7bUQ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AgI3PgG32errFtpw2 psbWW2VA6+ZNK3SsUWP5uIqO+SNZJIVuDDkJ/g9/fHui3A5lUUTfamt2psYdmy4Huh4LEWDZ nrjnMoOHHwXsQo6VuzmkkCNXiBLa3aoQ608/i07CJ6hDYrbXYCtnbmB3CCiEp1LfWBJFEqMH Gz2eIqYX/cMaTqSItR/nTAeUrihUYAh2Qm0tADm07pnMvbU+ioAuJLmztd1/fHcmg829TBuA MSdzmCNT2Rvk2MVXz85wLpzrlJgxVeeyaR4hedXGsRJ5/xVSgc6KYLcz+tiBtzsQg7BZMmGS EilTNu8GTw+U9YxzMIQbEZzFdWiixHD3y+yA7MLmLGEGpM1/b7G03jwIcZ912zG27M7g1Y7R stPL3eqibNh+ATLGoHJkESZl6OyeKoE0yDC+nmNw3aSsU9eSAJ/TKDFUmoFZkTKtdn3/lrMQ aehB7g/KQtB0cCCJ7NSZNPwlVtIS+/vOM/GY2K/g2iwBQiHxreLbIfyY2sTxT3TBkdX2zwUq CKdKA05Qzq6rnj2ATdqFEr0bgXr6+Yo+12hSUphmxCXaQh53ry6vBARgvGAV/4J2b8IkCsls XN4EQDujJrtF9Ocql85L+1natQn7QIfvV8=
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHcBTPq52RDfZ+/fUGoGHMvsVvNcLRSZ1SQ
  • Thread-topic: [sumo-user] Question

Hi,

 

I think, the problem is that vClass="emergency" is not defined in your vType id=”real”.

 

You can find more examples with bluelight under ~\sumo\tests\sumo\devices\bluelight\

 

Kind regards,

Yun-Pang

 

Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von Marcel Guim Marzo via sumo-user
Gesendet: Montag, 4. August 2025 13:35
An: sumo-user@xxxxxxxxxxx
Cc: Marcel Guim Marzo <marcel.guim@xxxxxxx>
Betreff: [sumo-user] Question

 

Hello, 

 

I'm a worker at UPC university currently studying different methods and configurations with which we could try and improve the response time of the emergency vehicles in our city, Barcelona. To do it, I'm trying to create a simulation where emergency vehicles are involved, and I'm doing it using SUMO to make all the simulations.

 

I recently visited the web page ("https://sumo.dlr.de/docs/Simulation/Emergency.html") where I saw SUMO has implemented methods and parameters to facilitate these types of simulations. I've been trying to use these parameters in my code, and I've been able to create the vehicles themselves (an ambulance) and to run the simulation with the defined parameters. But I have not found any tutorials on how to define and use the emergency class and bluelight parameters. I tried the configuration proposed in the web page:
<vType id="rescue" vClass="emergency" speedFactor="1.5">

   <param key="has.bluelight.device" value="true"/>

</vType>

 

But it doesn't seem to work how it should. The ambulance is not overtaking using the opposite direction, the cars in front of it are not moving away, it's not going faster than the speed limit.... I tried setting these configurations in the other vehicles involved in the simulation, configuring parameters like:

     <vType id="real" accel="2.0" decel="4.5" maxSpeed="5" guiShape="taxi">

        <param key="device.bluelight.device" value="true"/>

        <param key="device.bluelight.compliance" value="1"/>

        <param key="device.bluelight.visibility" value="150"/>

        <param key="device.bluelight.responseTime" value="0.5"/>

        <param key="device.bluelight.reaction-prob-near" value="1"/>

        <param key="device.bluelight.reaction-prob-far" value="1"/>

        <param key="device.bluelight.minGap" value="1"/>

        <param key="device.bluelight.reactiondist" value="100"/>

        <param key="device.bluelight.mingapfactor" value="2"/>

    </vType>

 

 

 

But it still won't work. Is there any tutorial online I can follow to implement it?

 

Thank you in advanced,

 

Marcel


Back to the top