I have one error when i changed the name of the default eNodeB (RSU) in veins-lte.
Error in module (Veins::TraCIScenarioManagerForker) scenario.manager (id=6) at event #105, t=0.1: check_and_cast(): cannot cast NULL pointer to type 'LteMacEnb *'.
How can i fix it?
From reading the code, Veins LTE 1.3 does not seem to be prepared to handle nodes that are attached to an eNodeB named other than eNodeB1
.
A quick search for this text reveals line 480 and line 509 of TraCIScenarioManager.cc
, both of which seem force each new node to attach to an eNodeB named eNodeB1
when it is created and to detach from an eNodeB named eNodeB1
when the node is destroyed.
Both should be easy enough to change in the code, but from your question it appears like you might be trying to run a multi-eNodeB scenario, which I am not sure is supported in Veins LTE 1.3, as it does not include the most recent version of SimuLTE.