Hi all,

 

is there a reason, why the coordinates of the following two functions,
describing the position of the same vehicle, are different?

 

traci.vehicle.getPosition(egoVehicle);

 

%roadID, lanePos and laneIdx correspond to the same egoVehicle

traci.simulation.convert2D(roadID,lanePos,laneIdx,'False');

 

The second function works for me, as it reults in a position (-50, 0) equal
to the position of the starting node of the vehicle,

While the first function starts with (1, 50).

 

Regards,

 

Marcus

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to