Skip to content

pathloss with mobile nodes #9

@boulis

Description

@boulis

pathlossMap does not work with mobile nodes. Even though this should be somewhat intuitive (what path losses are you defining if the nodes are mobile?), the manual does not explicitly say so. The wireless channel source code has the following comment:

/************************************************************
 * If direct assignment of link qualities is given at the
 * omnetpp.ini file we parse the input and update pathLoss.
 * This is only for static nodes. (onlyStaticNodes==TRUE)
 ************************************************************/
parsePathLossMap();

But I noticed that the source code does not make any checks to alert the user (we should stop the simulation with an error if pathlossMap is defined and onlyStaticNodes is False).

Update the parsePathLossMap method to raise an opp_error when a file is defined and onlyStaticNotes==FALSE

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions