The types "DEFAULT_VEHTYPE" and "DEFAULT_BIKETYPE" are always defined so you could copy from those without defining anything in XML.
Am Fr., 30. Apr. 2021 um 11:52 Uhr schrieb ali mirzaei <[email protected] >: > I am so sorry for putting you into all this trouble. First of all, I > have to say that I know the way we talked about it in our previous > discussions. As I understand, we need a vehicle with a defined type to > determine the types of the other vehicle by copying its type. I was > looking for a way to assign the type of that vehicle without using > XML. I hope I have been able to express what I mean. > > Thank you, > Ali > > > On Fri, Apr 30, 2021 at 12:40 PM Jakob Erdmann <[email protected]> > wrote: > > > > Your question confuses me. From our previous discussion I know that you > know how to > > - define types in xml > > - create new types by copying existing types via traci. > > Please explain how neither of the methods known to you solves your > problem. > > > > Am Do., 29. Apr. 2021 um 23:21 Uhr schrieb ali mirzaei < > [email protected]>: > >> > >> Hi everyone, > >> I want to define "vType_1" for "v1" via TraCI. But after running > >> simulation in GUI, the following error appears: Invalid type 'vType_1' > >> for vehicle 'v1'. So, how can I define 'vType_1' in advance? > >> > >> Regards, > >> Ali > >> _______________________________________________ > >> 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 > _______________________________________________ > 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
