Google earth model on my own network simulation

77 views
Skip to first unread message

shahin

unread,
Feb 9, 2012, 11:28:46 AM2/9/12
to omnetpp
My simulation environment is almost same as the example in
manetrouting-->net80211_aodv of INETMANET package. I have set up
everything and my simulation is ready. Now the question is how can I
apply the Google earth module to my simulation? How can I visualize my
simulation on Google earth using that model?
I can run Google earth example separately and it works perfectly, the
only problem is that I need it to work with my network configuration
and my mobility model instead. Is there a way to do this?

Regards,
Shahin

shahin

unread,
Feb 14, 2012, 10:34:11 AM2/14/12
to omnetpp
Can someone help me with this? I really need this to work. I need to
add the Google earth capability to my simulation. Can someone help me
with this? anyone??

On Feb 9, 4:28 pm, shahin <sh.shar...@gmail.com> wrote:
> Mysimulationenvironment is almost same as the example in
> manetrouting-->net80211_aodv of INETMANET package. I have set up
> everything andmysimulationis ready. Now the question is how can I
> apply theGoogleearthmodule tomysimulation? How can I visualizemysimulationonGoogleearthusing thatmodel?
> I can runGoogleearthexample separately and it works perfectly, the
> only problem is that I need it to work withmynetworkconfiguration
> andmymobilitymodelinstead. Is there a way to do this?
>
> Regards,
> Shahin

Rudolf Hornig

unread,
Feb 14, 2012, 3:20:59 PM2/14/12
to omn...@googlegroups.com
Some hints:

before you try to implement goole earth capability to INETMANET you should understand 
- how the mobility models work in INETMANET
- how the google earth integration works (see the example).

For the integration you can more or less copy the google earth demo verbatim.
The SocketRTScheduler.*, KmlUtil.*, KmlHttpServer.* files dont have to be changed.

You should change the MobileNode files in a way, that the MobileNodes will not have their own mobility
implementation instead the module should be placed inside the Host and register on the mobility module (in the same host) for location change update. Once it receives the notification it should translate the coordinates of the mobility model to latitude,longitude and use these values to generate the Kml fragment.

That's all in nutshell, 
Rudolf

>
> Regards,
> Shahin

--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp

Shahin Shariat

unread,
Feb 15, 2012, 6:08:50 AM2/15/12
to omn...@googlegroups.com
Thanks for the quick reply Rudolf. Before applying any changes. What is the most straight forward way to add the google earth demo sample to my workplace and run it in the OMNeT++ IDE? I have been having trouble adding it, can you advice an easy way to import it?

regards,
shahin.

Rudolf Hornig

unread,
Feb 15, 2012, 6:22:14 AM2/15/12
to omn...@googlegroups.com
Copy the whole dproject irectory to your worksapce and import it.

Shahin Shariat

unread,
Feb 15, 2012, 6:30:54 AM2/15/12
to omn...@googlegroups.com
Thanks, apparently I was forgetting to copy one of the files, no it is fixed.

Regards,
Shahin.
Reply all
Reply to author
Forward
0 new messages