how can rsu in veins connected to Internet /IEEE 802.11 a/b

384 views
Skip to first unread message

Researcher

unread,
Sep 10, 2015, 5:21:41 AM9/10/15
to OMNeT++ Users


  Hello, 
 
  I have two questions:
 
  1- In veins, the protocol that used for rsu is IEEE 802.11p , so it can send message to vehicles that forward this msg to another vehicle until reach to next rsu.
   is this true? 

   2- to connect the rsu units together, so they can share their information , we can use the internet / IEEE 802.11 a/b , so how can I apply this connection to rsu units in veins.

thank you for your help

Christoph Sommer

unread,
Sep 10, 2015, 6:06:50 AM9/10/15
to omn...@googlegroups.com
Researcher wrote:
> 1- In veins, the protocol that used for rsu is IEEE 802.11p , so it can
> send message to vehicles that forward this msg to another vehicle until
> reach to next rsu.
> is this true?

That is correct.

>
> 2- to connect the rsu units together, so they can share their
> information , we can use the internet / IEEE 802.11 a/b , so how can I
> apply this connection to rsu units in veins.

If you do not need to model /how/ the RSUs are connected, you can simply
treat this connection as an ideal channel that has some delay and model
the connection just like in the Tic Toc tutorial.

If this part of the simulation needs to be modeled in detail (e.g., how
TCP segments are fragmented, how routing is performed, etc), you will
need to use models of the INET framework in Veins.

Best,

Christoph


--
Dr. Christoph Sommer
Distributed Embedded Systems Group
University of Paderborn, Germany
http://www.ccs-labs.org/~sommer/

Researcher

unread,
Sep 15, 2015, 7:31:20 AM9/15/15
to OMNeT++ Users
thank you a lot for your replay.

Currently I want to make the connection like the tic toc tutorial.

I already defined a number of road side units.  Then in the connection part , I use the gate that defined in the RSU.ned.

I get this error:
 
Error in module (cModule) RSUExampleScenario.rsu[0] (id=7) during network setup: Gate `RSUExampleScenario.rsu[0].in[0]' is not connected to a submodule (or internally to another gate of the same module).

My two questions are :
1- "Simple module gates have normally one connection attached. Compound module gates, however,
need to be connected both inside and outside of the module to be useful".

since the rsu is compound model while the tic toc example use simple model , how can I make the connection for rsu?

2- I saw that there is (tictoc11.cc)  C++ file to define how can the simple module send messages using different functions like (
 initialize() ,  handleMessage(cMessage *msg),  finish() , etc )
is there any need for that for the RSU compound module or it is already implemented ?

thank you in advanced.

Christoph Sommer

unread,
Sep 16, 2015, 6:53:42 AM9/16/15
to omn...@googlegroups.com
Dear Researcher,

you are asking about basic modeling concepts. Please refer to the User's
Manual section 2.1 ("Modeling Concepts") for a brief introduction:

https://omnetpp.org/doc/omnetpp/manual/usman.html#cha:overview


Best,

Christoph


Researcher wrote:
> thank you a lot for your replay.
>
> Currently I want to make the connection like the tic toc tutorial.
>
> I already defined a number of road side units. Then in the connection
> part , I use the gate that defined in the RSU.ned.
>
> I get this error:
>
> Error in module (cModule) RSUExampleScenario.rsu[0] (id=7) during
> network setup: Gate `RSUExampleScenario.rsu[0].in[0]' is not connected
> to a submodule (or internally to another gate of the same module).
>
> My two questions are :*
> 1- "Simple module gates have normally one connection attached. Compound
> module gates, however,
> need to be connected both inside and outside of the module to be useful".*
> since the rsu is compound model while the tic toc example use simple
> model , how can I make the connection for rsu?
>
> 2- I saw that there is (tictoc11.cc) C++ file to define how can the
> simple module send messages using different functions like (
> initialize() , handleMessage(cMessage *msg), finish() , etc )
> *is there any need for that for the RSU compound module or it is already
> implemented ?*
>
> thank you in advanced.
>
> --
> You received this message because you are subscribed to the Google
> Groups "OMNeT++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to omnetpp+u...@googlegroups.com
> <mailto:omnetpp+u...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/omnetpp.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages