Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] moveToXY

For conversion, use traci.simulation.convertGeo
also see https://sumo.dlr.de/docs/Geo-Coordinates.html

The angle can be set to traci constant INVALID_DOUBLE_VALUE to indicate that the vehicle should assume the angle of the road. If you set it to another value, it will determine vehicle yaw.

Am Mi., 27. Nov. 2019 um 14:24 Uhr schrieb Mohsin Memon <mohsin.ldce@xxxxxxxxx>:
Hi Jakob,

Thank you very much for your reply.

I have one more query regarding angle and x,y position values:

I tried angle argument for moveToXY to be left blank("") as EdgeID argument
but it didn't work. I think it is mandatory and cannot be left blank.

Regarding angle argument, I just want to confirm, the angle in sumo is
vehicle yaw angle right?

Position X,Y :

Is there any function,I can give GCS geo co ordinates: long. and lat.(Ex :
7.765482, 49.4585412) to moveToXY function because I am getting GCS
co-ordinates from IPG carmaker.

If not, Do we have any traci function to convert geo to absolute values?

Thank you in advance.








--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top