Questions tagged [omnet++]

OMNeT++ is an extensible, modular, component-based C++ simulation library and framework, primarily for building network simulators. "Network" is meant in a broader sense that includes wired and wireless communication networks, on-chip networks and queueing networks.

OMNeT++ is an extensible, modular, component-based C++ simulation library and framework, primarily for building network simulators. "Network" is meant in a broader sense that includes wired and wireless communication networks, on-chip networks and queueing networks.


Useful links

1823 questions
3
votes
1 answer

Try to create new project with INET reference, got : "unexpected NAME, expecting $end" in .msg file

I created a project which contains my linklayer and simulation source code. This project has INET as the project reference. At build time, I got this error: Error: syntax error, unexpected NAME, expecting $end It comes from the message file (which…
3
votes
1 answer

Custom Module using veins and omnet++

I have installed veins 4.7 and I went through the tutorial. Everything is working. Now I built a new module more like a DemoBaseApplLayer. This module inherits from BaseAppLayer. In the initialize method, I call a dispatchMsg function. which looks…
gmusjha
  • 39
  • 5
3
votes
1 answer

building node with INET getContainingNicModule(): nic module not found

I am building a wireless node and it currently looks like this module Node extends NodeBase { parameters: mobility.typename = default("StationaryMobility"); Physical.antenna.mobilityModule = default("^.^.mobility"); …
EdL
  • 367
  • 4
  • 12
3
votes
1 answer

Omnet++ sumo and veins

I'am a beginner in omnetpp . i have to create a vehicle in omnet using inet then to connect it via veins to sumo how could i start my project.
A.A.
  • 61
  • 4
3
votes
1 answer

Error during initialization of TrafficLight node in Veins 4.7.1

How can I use the TrafficLight node in Veins 4.7.1 with a custom app? I tried to add a trafficlight node the same way we add RSU nodes, i.e.: import org.car2x.veins.nodes.Scenario; import org.car2x.veins.nodes.TrafficLight; network EV_Scenario3…
Hamzah
  • 120
  • 5
3
votes
1 answer

How to begin a veins simulation at t > 0

I am working on veins simulation with LuST scenario. My goal is to choose a time period and begin my veins simulation at a certain moment, e.g. 6:00, of LuST. In SUMO, parameter "begin" can be modified so it's easy to set traffic flow. So I think it…
Jason Song
  • 75
  • 8
3
votes
1 answer

Connecting Wireless Hosts to a Standard Host via AP in Omnet++

NED File: import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator; import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium; import inet.node.inet.WirelessHost; import inet.node.wireless.AccessPoint; import…
3
votes
1 answer

How to access the map which is given by using the reference?

I need the size of the map which is given by the reference. What does the reference point at? If it is the reference to all the key values and mapped values, can I print them all? const std::map& getManagedHosts() { return…
jot2426
  • 31
  • 2
3
votes
1 answer

VEINS: Dynamic re-routing algorithm

In SUMO, while converting OSM file to SUMO compatible road network using DUAROUTER we can pass --routing.algorithm parameter to use one of these (default is Dijkstra). In veins demo app there is a logic to simulate accident and vehicles reroute on…
Ahmad Ahsan
  • 179
  • 2
  • 15
3
votes
1 answer

Is it possible to use RInside in omnet++/Veins project to benefit from rich R features

I was learning R and came through this package called RInside which provides c++ classes to call an embedded R interpreter. I am able to run some examples given after configuring as per this blogpost and using provided makefile in Omnet++ eclipse…
rajeswar
  • 77
  • 5
3
votes
0 answers

How can one randomly place RSUs inside a Sumo simulation map during an OMNET++/Veins simulation?

First of all, this question or its variation is probably asked a large number of times. I apologise for the reiteration. Problem statement: I am trying to generate 'n' static RSU nodes with random initial positions. I am using LinearMobilityand…
Anirban Das
  • 93
  • 1
  • 5
3
votes
2 answers

Omnet++ simple wireless node

Iam trying to create simple wireless node for MANET network which can send messages to other nodes in range. Solutions implemented in INET also contains other layers like IP, transport, application which i dont need. Iam new to omnet++ so iam…
Lagger
  • 33
  • 7
3
votes
1 answer

error while building omnet++ veins

I am very new to omnet++ and I need to install Veins. I am following the tutorial on the website but I have some troubles. I am running omnet 5.1.1 and veins 4.6 on windows 8.1, when I build veins i get the following error make MODE=release…
Rehab11
  • 353
  • 2
  • 5
  • 16
3
votes
3 answers

local header files available in the project but make gives No such file or directory error

From entire day I am trying to install OverSim [http://www.oversim.org/wiki/OverSimInstall] The make file looks like this: all: checkmakefiles cd src && $(MAKE) clean: checkmakefiles cd src && $(MAKE) clean cleanall: checkmakefiles cd…
Roshan Mehta
  • 2,507
  • 2
  • 19
  • 45
3
votes
2 answers

How to get n number of vehicles for x sec of simulation using SUMO randomTrips script?

I am using Veins simulator, for creating cars with path I am using the following commands: python c:/DLR/Sumo/tools/randomTrips.py -n test.net.xml -e 1200 -l python c:/DLR/Sumo/tools/randomTrips.py -n test.net.xml -r test.rou.xml -e 1200 -l This…
Sam1324
  • 347
  • 2
  • 10