Pedestrian Simulation in veins (omnet++/sumo)

前端 未结 1 934
悲&欢浪女
悲&欢浪女 2021-01-15 09:57

I\'m trying to run a pedestrian simulation from sumo in omnet++. To keep it easy (i am a beginner) I decided to use the Erlangen example provided with veins and ext

相关标签:
1条回答
  • 2021-01-15 10:38

    You are absolutely right. As of Veins 5a1, Pedestrians (Persons in SUMO parlance) are not supported by Veins out of the box, meaning additional code needs to be written by the user.

    For internal projects we have simply cloned the code handling vehicle subscriptions, substituting class and variable names where appropriate

    (i.e., CMD_SUBSCRIBE_PERSON_VARIABLE=0xde for ID_LIST, then subscribing to VAR_POSITION, etc. for every new person, and reacting to changes in these variables by calling addModule and nextPosition).

    0 讨论(0)
提交回复
热议问题