Hello Karl, nothing related to vehicle.add was changed deliberately. The problem may be related to vehicle insertion. Here are things you could try: - force the vehicle into the network using vehicle.moveTo or vehicle.moveToXY (if that works the issue is with insertion) - activate debugging code in MSLane.cpp:70 ( DEBUG_INSERTION) and activate the line /#define DEBUG_COND2(obj) ((obj != 0 && (obj)->getID() == "yourVehicleID")). This will report the reason why the vehicle 'yourVehicleID' is not being inserted
regards, Jakob Am Di., 12. Mai 2020 um 15:38 Uhr schrieb Schrab, Karl < [email protected]>: > Hi all, > > > > We are currently facing problems with TraCI in SUMO 1.6.0. We are using > our own Java client to add vehicles, perform simulation steps, and catch > subscriptions via TraCI. With the current version of SUMO, the command to > add a vehicle (0x80, 0x85 as well) are executed successfully (no error > message is logged or returned), however, *no vehicle appears in the > simulation*. Executing simulation steps and retrieving subscriptions for > the just added vehicle returns invalid values for all subscribed parameters > (-2^30). Again no error log or message that the vehicle is missing, but > only those invalid values. In the GUI the vehicle seems to be in the state > “loaded”, but it is not displayed or simulated at all. With previous > versions, e.g. 1.5.0 or 1.4.0, everything works fine. Has there anything > changed in the way to interact/initialize with the simulation using TraCI? > > > > Kind regards, > > Karl > _______________________________________________ > 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
