runtime-erroromnet++inet

Parameters cannot be changed with Scenario Manager


enter image description here

I am a beginner in OMNet++ and I have created a multi-node network using OMNET++ INET framework. The nodes are instances of WirelessHosts. I am trying chaange their mobility parameters using Scenario Manager. But I am getting a runtime error like above, Please guide me to fix this issue.


Solution

  • To fix this, I added @mutable property to the Network Description (.ned) file of LinearMobility under inet/mobility/single/. In order to change the parameters during runtime, the parameter should be mutable. Mutable parameters can be set to a different value during runtime