Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] lane area detectors (E2)- moveTo issue

Solutions are outlined in https://github.com/eclipse/sumo/issues/3318
However, if you are doing time-critical traci simulation I would strongly suggest to use libsumo instead of the socket-based API. This is fairly easy when using client languages other than matlab.



Am Mi., 22. Apr. 2020 um 10:13 Uhr schrieb Kevin Malena <kevin.malena@xxxxxxxxxxxxxxxx>:

Thanks for the fast response!

 

So it’s exactly how I expected…

 

Since I need to move/ teleport already departed vehicles is there a way to not ignore those?

As I said it is to move certain vehicles within my net to “correct” their real tracked position…

 

Otherwise I Need to remove them and insert new ones which wouldn’t be that good since I need more commands to achieve the “same” result leading to more “communication” and therefore to more effort for the simulation.

My simulation with traci4matlab is already time-critical which is why I wanna save some calculations/communications.

 

Cheers,

Kevin

 

_____________________________________

 

M. Sc. Kevin Malena


Regelungstechnik und Mechatronik

 

Heinz Nixdorf Institut
Universität Paderborn

Fürstenallee 11

33102 Paderborn
 
Telefon:  +49 (0) 52 51 / 60 6278

Raum: F0.337

Internet: http://www.hni.uni-paderborn.de/rtm

_____________________________________

 

Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] Im Auftrag von Jakob Erdmann
Gesendet: Dienstag, 21. April 2020 18:17
An: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Betreff: Re: [sumo-user] lane area detectors (E2)- moveTo issue

 

If a vehicle is already departed, then moveTo "teleports" the vehicle onto the edge.

Currently, detectors ignore vehicles that "teleport" onto an edge.

If the vehicle is not yet in the network when it receives the moveTo command then it counts as "departure" and detectors will take notice.

So itfyou only need to call moveTo once per vehicle, make sure the vehicle hasn't departed yet. (i.e. by setting a depart time that is the future).

calling moveTo will then force it into the network at the time of the call.

 

regards,

Jakob

 

Am Di., 21. Apr. 2020 um 12:39 Uhr schrieb Kevin Malena <kevin.malena@xxxxxxxxxxxxxxxx>:

Hey guys,

 

is it a known issue that lane area detectors (E2) don’t always detect vehicles placed on them using the moveTo-command?

Do u see a way to get this fixed?

 

I use the commands to move vehicles to a corresponding E2 detector in front of a TLS, but without detection it’s like there is no vehicle waiting which I wanna simulate…

Even in later simulation steps the vehicle is not detected.

Is it the only way to not use moveTo to solve this problem?

 

Thanks in advance,

 

Kevin

_____________________________________

 

M. Sc. Kevin Malena


Regelungstechnik und Mechatronik

 

Heinz Nixdorf Institut
Universität Paderborn

Fürstenallee 11

33102 Paderborn
 
Telefon:  +49 (0) 52 51 / 60 6278

Raum: F0.337

Internet: http://www.hni.uni-paderborn.de/rtm

_____________________________________

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top