How to run Castalia 3.0 on Omnet using the IDE

1,296 views
Skip to first unread message

Menik Tissera

unread,
May 31, 2010, 5:03:41 PM5/31/10
to omn...@googlegroups.com, castalia-...@googlegroups.com
HI All, 
I am new to castalia 3.0 and how can I open files on the Omnet IDE 
How to start work with ? How to add C++ files to it ?
I have Installed all but I cant open or import them on the IDE. 
I would be thanking you if anyone can help me out.
Thanks

maximus

unread,
Mar 14, 2012, 5:57:54 AM3/14/12
to omn...@googlegroups.com, castalia-...@googlegroups.com
Hi Menic,
Please, i'm new with this simulator and i'm facing the same problem, any idea ?
I'm using castalia 3.2 and Omnet++ IDE 4.2
Thank you

i.m....@hotmail.co.uk

unread,
Mar 14, 2012, 6:44:26 AM3/14/12
to Castalia Simulator
Hi,
If you mean that you want to run Castalia in GUI mode through OMNeT
then I am 95% sure that you cannot do it or it will be extremely
difficult. TIP: My tip is in this group search write "GUI Castalia".
Read the first 2 threads, I hope you will get broader idea.
If this reply satisfy you then I will let you know how to start
programming in Castalia (as you asked where to put C++ code etc.).

maximus

unread,
Mar 14, 2012, 9:32:24 AM3/14/12
to castalia-...@googlegroups.com
Thanks for your reply
well, yeah, that's right, it seems to be difficult to have castalia in GUI mode, but i noticed that there is a visualization tool called CaVi developed since 2007 and that can provide a useful GUI. Have you any working link for that ?
Anyway, I must start coding with castalia, so it will be kind of you to help me dealing with it.

Regards

Athanassios Boulis

unread,
Mar 14, 2012, 7:34:42 PM3/14/12
to castalia-...@googlegroups.com
CaVi is not available for the current version of Castalia. CaVi was an effort for visualization that has long been abandoned by its creators.

Using the visualization that OMNeT offers is a different story. I do not think it is difficult to do this, although I have not tried it myself. I have not tried it because I do not think it is useful. Seeing the messages being passed between the different modules is not very illuminating. I simply use the trace output to understand and debug protocols and algorithms.

Maybe you are thinking that using the OMNeT visualisation you will be able to see nodes exchanging packets. But if you see Castalia's basic module structure in chapter 2 of the manual, you will understand that all communication goes through the wireless channel module, so visually you are not getting very useful info.

Message has been deleted

Athanassios Boulis

unread,
Mar 14, 2012, 8:42:24 PM3/14/12
to castalia-...@googlegroups.com
The ini files describe the specific simulation scenario you want to test, with existing modules.
If you want extra protocols/algorithms then you have to write the C++ code that implements the new functionality in a new app/routing/mac module. Chapter 5 describes how this is done. In most cases you will not need to alter the basic interconnection of modules or defined altogether new modules (defined in .ned files).
Keep reading the manual and also use the OMNeT manual as your reference.

Aska123

unread,
May 16, 2013, 3:01:00 AM5/16/13
to castalia-...@googlegroups.com
Please tell me how to start programming with castalia.

yasser alhilali

unread,
Dec 15, 2013, 12:15:55 PM12/15/13
to castalia-...@googlegroups.com, omn...@googlegroups.com, men...@gmail.com
Hello dear

I'm graduate i have to proposed mac protocol using castalia in omnet++, i already setup the ubuntu OS and omnet ++ now i need setup castalia when i open the command page in ubuntu OS and i follow the steps in internet it can't make. can u help me plz how to install castalia. and i will be thankful for u

Ramon Hofer

unread,
Dec 19, 2013, 8:40:58 AM12/19/13
to castalia-...@googlegroups.com, omn...@googlegroups.com, men...@gmail.com
I have just installed Castalia following the Installation.doc instructions that came in the Castalia.zip and ran the radioTest example from the User Manual.doc. There were absolutely no problems.

Please let me know where you have problems and I try to help.

yasser alhilali

unread,
Jan 18, 2014, 6:11:52 PM1/18/14
to castalia-...@googlegroups.com, omn...@googlegroups.com, men...@gmail.com
Dear brother Ramon, thank you I installed Castalia and iam so sorry for late I was busy. Kindly, If can, I'm looking about c++ code for building hybrid Mac protocol can I get it from you and thank you very much
Best regards

Rosh

unread,
Mar 12, 2014, 3:47:39 AM3/12/14
to castalia-...@googlegroups.com, omn...@googlegroups.com, men...@gmail.com
hello,
are u able to integrate castalia with omnet++ IDE.
Kindly let me know.
thanks in advance!!!

劉浩航

unread,
Apr 28, 2016, 10:42:15 AM4/28/16
to Castalia Simulator, omn...@googlegroups.com, men...@gmail.com
hi, 
maybe you can find the answer in the link below:
sir :Leonardo Giaccone wrote down detailed procedure for integrating castalia with omnet++ IDE.


Rosh於 2014年3月12日星期三 UTC+8下午3時47分39秒寫道:

Engr. Kashif

unread,
May 1, 2016, 5:44:38 AM5/1/16
to Castalia Simulator
yes  i am satisfy with your reply. i spend many time to run Castalia code in IDE but of no result.

kindly guide me how to start programming in Castalia

regards 
kashif
Reply all
Reply to author
Forward
0 new messages