Thursday 2 August 2012

Run Time Interface Dilemma

An RTI or Run Time Infrastructure is required in order to implement HLA. RTI can be considered as the middleware between different federates. It offers various services to the federates like time management, object sharing and interactions.

There are various RTIs available but few open source. We analysed two RTIs for our project (tried CERTI only when we faced a few problems with portico :P) :

1. portico 

portico is a well written and has a C++ and a JAVA API. The source is in JAVA and the C++ API is using JNI (Java Native Interface). The project is well documented and ample of examples for both C++ and JAVA. Although there is a very - very small team :P supporting the project and seems to have issues with some operating systems. Running a federation is comparatively easier  with scripts for running them and not many variables to set.

http://www.porticoproject.org/index.php?title=Main_Page

2. CERTI

CERTI on the other hand is written in C++ and has a great C++ API. A JAVA API also exits. It seems good for the job but I didn't find the example very basic/self-explanatory (Billard). Another issue is number of variables one has to set, although it seems that using CERTI it will be quite easier to run the federates on different mmachines as compared to portico.

http://savannah.nongnu.org/projects/certi/

At present the code uses a portico federate.

No comments:

Post a Comment