Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Is it possible to let vehicles ignore a certain type of other vehicle?

Dear Julia,

 

If you want the observer to go unnoticed, there is no need to use an actual vehicle, right? I imagine you want to use TraCI to mimick the observer sensoring capabilities. E.g. you could use a PoI, move it with traci.poi.setPosition and subscribe to vehicles in the surroundings with TraCI Object Context Subscription.

 

Best regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] Is it possible to let vehicles ignore a certain type of other vehicle?

Datum: 2024-01-25T17:46:44+0100

Von: "Chen, Hanlin via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Mirko Barthauer via sumo-user" <sumo-user@xxxxxxxxxxx>

 

 

 

Dear SUMO team,
We are in the process of developing a simulation with traffic monitoring functions. We want to make traffic monitoring more realistic by setting an observer vehicle. The thing is, we want all the background vehicles to ignore this observer vehicle as it can go anywhere and we don't want this observer vehicle(or person or plane or whatever you name it) to interact with background traffic. I tried to see if I could do vehicle location adjustment in 3D but only found movetoXY in Traci. Therefore I was wondering if it is possible to let background traffic ignore this certain type of vehicle. We've already created a vehicle type specifically for this monitoring function, using vType "ingoring".
 
Thanks for any help you can provide in advance!
 
Yours, Sincerely,
 
Julia

 



Back to the top