Dear all I attempted to write a C++ class in Omnet++ (like RSU/Car class) but it failed. To know the coordinates of all people in personFlow, in my opinion, a modification of SUMO source code might help. But it is not easy to find the statement which draws every person (of personFlow) in SUMO-GUI.
On Thu, Apr 21, 2022 at 5:36 PM Thanhnt Nguyen <thanhnt....@gmail.com> wrote: > Dear all > I'm working on a project which simulates vehicles in a human-aware > environment > I could use omnetpp.ini to establish classes for vehicles as well as RSU > (Road Site Unit). > *.node[*].applType = "AGVControlApp" > *.rsu[*].applType = "HospitalControlApp" > I also define personFlow in rou.xml like this: > <personFlow begin="0" id="p102a" period="6"> > <walk from="E102" to="-E102"/> > </personFlow> > However I have no idea about declaring a class for "person module". This > class will help me know the position/coordination of every person. > Does anyone have a way to declare a person class? Or is there any solution > to get the positions of every person in any personFlow? > thank you in advance > > > -- Nguyen Tien Thanh Department of Software Engineering School of Information and Communication Technology (SoICT, http://www.fit.hut.edu.vn) Hanoi University of Technology (HUT, http://www.hut.edu.vn) 1 DaiCoViet Road, Hanoi, Vietnam Tel: +84-4-8682595/8683730 Fax +84-4-8692906 Mobile: +84987768886 E-mail: than...@soict.hut.edu.vn ntth...@it-hut.edu.vn thanhnt....@gmail.com Website: www.fit.hut.edu.vn/~thanhnt <http://www.fit.hut.edu.vn/%7Ethanhnt>
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user