Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] FCD output query

Thanks, Jakob. I have another doubt.

I find the 'angle'  field in fcd-output is described as--

The angle of the vehicle in navigational standard (0-360 degrees, going clockwise with 0 at the 12'o clock position)

Is it the angle of the vehicle position with respect to the reference (like X-axis and Y-axis) or its direction of movement?

I want to find the angle between the vehicles (position) i.e. angle of all vehicles with respect to one source vehicle. Can I use the angle field? or do I need to use the position of the vehicles (x,y) to compute such an angle?

Thanks.






On Thu, Feb 11, 2021 at 8:42 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
By default, if the vehicle is visible in sumo-gui it should also be included in the fcd-output.
Note, that it is possible to configure only a portion of the vehicles to generate this output (https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html#restricting_the_set_of_vehicles_that_generate_output)

Am Do., 11. Feb. 2021 um 15:25 Uhr schrieb Moyukh Laha <iammoyukh@xxxxxxxxx>:
Hello,

I want to know the position of each vehicle at every timestep. I am using fcd -output for the same.

My doubt is does it store the position of all vehicles (including static ones)? or only the vehicles that are moving/changing their direction at that timestep?

When running the simulation from SUMO_GUI, I see a much higher number of vehicles. But when I do the fcd-output, the generated XML file stores a much less number of vehicles position at that time.

How do I get the position of all vehicles at every timestep including the static ones?

Thanks.
_______________________________________________
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