-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Envmod usage #67
Comments
The environment model is only enabled in the "envmod" configuration of the highway-police scenario, see artery/scenarios/highway-police/omnetpp.ini Lines 20 to 22 in a313146
You should be able to run this configuration without modifications. Side note: This scenario has been created for the chapter about Artery in a soon-to-be-published book "Recent Advances in Network Simulation". |
Thanks for your reply! |
|
You are not using the envmod configuration. Please select "envmod" from the drop-down box in the dialog shown at OMNeT++ GUI's startup. |
Many thanks @riebl for your fast support. Problem solved. |
@rtobi Feel free join https://gitter.im/omnetpp for this purpose. |
Hi,
I am currently trying to get running your environment model. Looking at your highway-police example, I do not get how you include this model. In the services.xml the PoliceService is configured, while in services-envmod.xml the PoliceServiceEnvmod is configured. Running the example without any changes does never call a function from the PoliceServiceEnvmod class. Changing the services.xml file such that the PoliceServiceEnvmod class is called, results in an error as the LocalEnvironmentModel is not registered so far.
In Middleware.cc where all facilities get registered, the LocalEnvironmentModel is missing. What am I doing wrong?
Many thanks and best regards!
The text was updated successfully, but these errors were encountered: