One reason why the lane does not update could be that the vehicle is considered outside the road network. Can you try if the issue also occurs when setting keepRoute=1 or keepRoute=0 in the moveToXY command?
Am Sa., 4. Apr. 2020 um 15:45 Uhr schrieb Branka Mirchevska < [email protected]>: > Hi all, > > I have a specific bug that the lane position value for the vehicle I > control > remotely via MoveToXY, doesn't update after some (random amount) of time > even though the vehicle clearly moves forward in the gui. > All other values are further updated (speed, accel etc.) too, only position > [m] stays fixed. > > (Also if you access it in the code it is the same, ti is not a gui problem) > > Also here is my Sumo version > > Eclipse SUMO Version v1_5_0+1106-f340eb1266 > Build features: Linux-4.15.0-70-generic x86_64 GNU 7.5.0 Release Proj GUI > SWIG GDAL GL2PS Eigen > Copyright (C) 2001-2020 German Aerospace Center (DLR) and others; > https://sumo.dlr.de > > Eclipse SUMO Version v1_5_0+1106-f340eb1266 is part of SUMO. > This program and the accompanying materials > are made available under the terms of the Eclipse Public License v2.0 > which accompanies this distribution, and is available at > http://www.eclipse.org/legal/epl-v20.html > SPDX-License-Identifier: EPL-2.0 > > Of course I checked also that I am not sending wrong commands via the > MoveToXY function so that is not the reason this happens. > Even if there was something wrong with my trajectory planning, the > vehicle.LanePosition value comes from Sumo it should be at least compatible > with what the gui shows... > It is probably worth mentioning that if I don't control Ego remotely, this > bug doesn't occur. > > As far as I can tell, this happens because of some interaction between the > vehicles at some point in the scenario. (It happens in many very different > scenarios (but not always) and Ego behaviors and it seems impossible to > find > the correlation) > For e.g. I had a scenario with Ego and 3 extra cars where lane pos would > get > stuck. If I removed each one of the surrounding vehicles one by one, or > each > pair of two, and left Ego doing the same decisions, it wouldn't happen. > Only that exact combination was problematic, and I couldn't pinpoint why. > They were not even close to each-other... > > I hope you have some idea what I could try next. > > Thanks! > > Best, > Branka > > > > -- > Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
