I am facing some problems when trying
to add more RSU nodes on the veins example code. Here's the code I added in
RSUExampleScenario.ned
@display("bgb=706,476");
submodules:
rsu[0]: RSU {
@display("p=327,395;i=veins/sign/yellowdiamond;is=vs");
}
rsu[1]: RSU {
@display("p=437,244;i=veins/sign/yellowdiamond;is=vs");
}
}
And
And more codes in .ini
*.rsu[0].mobility.x = 2000
*.rsu[0].mobility.y = 2000
*.rsu[0].mobility.z = 3
*.rsu[1].mobility.x = 1800
*.rsu[1].mobility.y = 1800
*.rsu[1].mobility.z = 2
When I try to start the simulation, error message says
Error: Name 'rsu' is not unique within its component
I'd really appreciate with some help to solve this problem
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/7d4a62c4-91a6-4b61-9888-882ee79c377en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/CAK6wx4xb9%2Bcx25icOgDiS7WiPu-fTa-HEfatCGGONscyKgFWfQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/CAOvq1Hi5R0EjXXnimsk9HYs6XPTBYxZyhidR0TdbkyC-ymPyKw%40mail.gmail.com.
If you want to have N Rsu you define it like an array
submodules:
rsu[N]: RSU {@display("p=437,244;i=veins/sign/yellowdiamond;is=vs");
}
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/AM6PR0602MB338305DB52AB723C021AD6D48C3F9%40AM6PR0602MB3383.eurprd06.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/CAK6wx4yPJKteGCaqFwjP%2BdMYajVsgw87UsqMk3N4M%3DKkHAmT-w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/CAOvq1Hhd%2BDwDpGvqP5wVfvNHvzDuahAg_50eSdYRfN7sxB_WYA%40mail.gmail.com.