Hello, the proper solution is this: http://sumo.dlr.de/trac.wsgi/ticket/2073 As long as that isn't fixed, go with the hacky solution. regards, Jakob
2015-12-10 12:34 GMT+01:00 Didac Busquets <[email protected] >: > Hi, > > I'm using TraCI4J to update the position of vehicles. I'm having a problem > when a vehicle is in a junction. When calling the method > changeLanePosition(laneId, position) I get the following exception: > > > it.polito.appeal.traci.TraCIException: SUMO error for command 196: Vehicle > ':center_0_0' may be set onto an edge to pass only. > > Any ideas of how to solve/prevent it? So far I'm checking that the laneId > does not start with ":", but I find it a bit "hacky" so I was wondering > whether there is a neater way of doing it. > > Thanks, > > Didac > > --------------------------------------------- > > Didac Busquets, PhD > Senior Technologist > > Transport Systems Catapult > 3rd floor, The Pinnacle > 170 Midsummer Boulevard > Milton Keynes > MK9 1BP > > Tel: +44 (0) 1902 359 999 Ext: 1126 > Email: [email protected]<mailto: > [email protected]> > Web: ts.catapult.org.uk > > The Transport Systems Catapult is one of a network of elite technology and > innovation centres established by Innovate UK as a long-term investment in > the UK's economic capability. Applying business-led research, Catapults > help businesses transform great ideas into valuable products and services > to compete in the global markets of tomorrow. Transport Systems Catapult is > a company limited by guarantee, registered in England and Wales with > company number 08041919. Registered office: The Pinnacle, Midsummer > Boulevard, Milton Keynes, Bucks, MK9 1BP. This email and any attachments > are confidential and intended solely for the use of the recipient(s) to > whom they are addressed. If you have received it in error, please destroy > all copies and inform the sender. > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
