Hello, thanks for the clarification and the hint.
Regards, Alexander On 2017-04-08 23:01, Jakob Erdmann wrote: > Hello, > this behavior is intended. If you wish to maintain a custom angle you > can call moveToXY in every simulation step. > The main use case for moveToXY is simulator-couping where some vehicles > are remote controlled by an external process (typically, control is then > maintained for every step of the simulation).. > To be clear: the use case of calling moveToXY only once and then having > vehicles continue with a custom angle did not come up before now. > You could remove line 2264 in MSVehicle.cpp to disable angular updates. > > regards, > Jakob > > > 2017-04-07 16:31 GMT+02:00 Alexander Weidinger > <[email protected] <mailto:[email protected]>>: > > Hello, > > I am using the moveToXY and addVehicle functions of TraCI > to add vehicles at specific positions with a specific angle. > > If I then continue the simulation (using simulationStep) > and proceed further than one step, > meaning it starts when using two steps or more, > the angle is "lost" and the cars instantly "look" in the direction of > the lane. > When doing only one step it works perfectly fine. > > Is this intended behavior? What can I do to circumvent this? > I am using a step-length of 0.001 (or 1 ms). > > Regards, > Alexander > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/sumo-user > <https://lists.sourceforge.net/lists/listinfo/sumo-user> > >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
