Comments (3)
I have found a fix for this issue. In BasicNodeManager.h the following line needs to be added:
#include "veins/base/connectionManager/BaseConnectionManager.h"
and BaseConnectionManager* cc;
needs to be added to the class.
In BasicNodeManager.cc the following lines need to be added:
#include "veins/base/utils/FindModule.h"
In initialize:
cc = FindModule<BaseConnectionManager*>::findGlobalModule();
In removeVehicle:
cModule* mod = getNodeModule(id);
if (!mod) error("no vehicle with Id \"%s\" found", id.c_str());
cModule* nic = mod->getSubmodule("nic");
if (cc && nic) {
cc->unregisterNic(nic);
}
from artery.
This solution is not a complete fix. It also gives a segfault when finish() is called after the last vehicle exits. I cannot find why though given that the steps added are the same as those carried out by a normal veins simulation which presumably does not give this behavior.
from artery.
Thank you for reporting this issue. It is fixed in the current master branch.
Please note, there is still a bug in OMNeT++ regarding the drawing of bubbles used by the ExampleService (bubbles are not removed when source module is removed). However, it runs fine with Cmdenv.
from artery.
Related Issues (20)
- Running Artery with different values of a parameter HOT 3
- Measure CAM's age: from sendCam() of transmiters to indicated() of receivers. HOT 3
- Storyboard Effects HOT 4
- Detecting Pedestrians HOT 1
- Help needed: Docker Documentation needed HOT 2
- error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
- plot between "receiving power of a receiver" and "distance from transmitter" HOT 1
- Get the exact number of sent message from services HOT 4
- Information exchanging between modules and Number of entries in Location table HOT 9
- Denm service overwriting port on IVIM service HOT 9
- Error with Regions of Interest HOT 1
- Print ID, speed and position HOT 2
- Cmake static variable cannot load library HOT 2
- duplicated DENM messages HOT 4
- updateDENM and terminateDENM HOT 2
- Traces in DENM
- INET_API resultfilters in Artery HOT 1
- Comparing longitudes and latitudes values of different positions
- Nodes do not take Z coordinates in .ned file
- Connecting to Sumo server by TraCi HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artery.