certi-devel-french
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Utilisation de Billard


From: El' Rudaille
Subject: RE: Utilisation de Billard
Date: Wed, 02 May 2007 12:28:30 +0000

J'ai réussi a faire tourner l'application billard...
J'ai copié le fichier Test.fed dans le dossier bin/ ou se trouve le binaire billard et rtig et ca a marché...je me suis donc demandé l'intéret de mettre le .fed dans le dossier share/federations si billard ne peut accéder a celui ci pour y chercher le .fed ??? :D peut être ai-je mal tapé l'export...

Je vais maintenant essayer de décortiquer les sources de billard pour comprendre le processus de création de fédération HLA...

Merci.

A+


From: "El' Rudaille" <address@hidden>
Reply-To: CERTI development discussions in French<address@hidden>
To: address@hidden
Subject: Utilisation de Billard
Date: Wed, 02 May 2007 08:47:55 +0000

Bonjour,

Merci tout d'abord d'avoir fait une version n'utilisant pas les librairies X11...
Tout ce passe correctement lors du make et du make install

Cependant d'autres problèmes surgissent.

Voici ma configuration :

* Variables d'environnements

export PATH=$PATH:/usr/local/bin/
export LD_LIBRARY_PATH=$LD_LIBRAIR_PATH:/usr/local/bin/
export CERTI_HOST=debian2

* Répertoire des binaires :

/usr/local/bin

* Voici le résultat de l'exécution du RTIG et d'un fédéré billard

* Terminal RTIG

----------------------------------------------------------------------------------
address@hidden:~$ rtig
CERTI RTIG 3.2.3-testV2 - Copyright 2002-2006  ONERA
This is free software ; see the source for copying conditions. There is NO
warranty ; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CERTI RTIG up and running ...
New federation: Test
Looking for FOM file... Test.fed... failed : FED file unknown.
TCP Socket  6 : total =        40b sent
TCP Socket  6 : total =        88b received
UDP Socket 1936289071 : total =         0b sent
UDP Socket 1936289071 : total =         0b received
----------------------------------------------------------------------------------

* Terminal billard 1

commande : billard --name=Billard_numero_1 --federation=Test --filename=Test.fed -timer=60

Voici l'exécution en tant qu'utilisateur :

----------------------------------------------------------------------------------
CERTI Billard 3.2.3-testV2
SocketUN: bind: Permission denied
RTI exception: RTIinternalError [Cannot connect to RTIA].
----------------------------------------------------------------------------------

Voici celle en root :

----------------------------------------------------------------------------------
CERTI Billard 3.2.3-testV2
Could not open FED.
LibRTI: Receiving unknown exception.
RTI exception: RTIinternalError [].
Exiting.

RTIA: Received signal 2. Exiting peacefully.

RTIA has thrown NetworkError exception.
Reason: Connection closed by client.
UDP Socket  6 : total =         0b sent
UDP Socket  6 : total =         0b received
TCP Socket  5 : total =        88b sent
TCP Socket  5 : total =        40b received
------------------------------------------------------------------------------

Comme vous pouvez le constater...l'exécution d'un fédéré billard pose des soucis.
1) Could not open FED.
2) LibRTI: Receiving unknown exception.
3) RTI exception: RTIinternalError [].

et du coté du RTIG
1)Looking for FOM file... Test.fed... failed : FED file unknown.

La bonne nouvelle c'est que la fédération est bien créée et que des données sont échangées...c'est déjà un bon avancement :))

On pourrait penser que le fichier fed n'est pas dans le dossier...
Le fichier Test.fed est bien dans le dossier /usr/local/share/federations, ainsi que le fichier Test.xml

---------------------------------------------------------------
résultats d'une commande ls -l dans les différents répertoires
---------------------------------------------------------------

address@hidden:~$ ls -l /usr/local/share/federations

-rw-r--r--  1 root staff 673 May  2 08:59 Test.fed
-rw-r--r--  1 root staff 760 May  2 08:59 Test.xml

address@hidden:~$ ls -l /usr/local/bin/
total 5740
-rwxr-xr-x  1 root staff  708206 2007-05-02 08:59 billard
-rwxr-xr-x  1 root staff 3322408 2007-05-02 08:59 rtia
-rwxr-xr-x  1 root staff 1829972 2007-05-02 08:59 rtig

address@hidden:~$ ls -l /usr/local/include/
total 72
-rw-r--r--  1 root staff  1223 2007-05-02 08:59 baseTypes.hh
-rw-r--r--  1 root staff  6793 2007-05-02 08:59 federateAmbServices.hh
-rw-r--r--  1 root staff  4111 2007-05-02 08:59 fedtime.hh
-rw-r--r--  1 root staff  7967 2007-05-02 08:59 NullFederateAmbassador.hh
-rw-r--r--  1 root staff 25895 2007-05-02 08:59 RTIambServices.hh
-rw-r--r--  1 root staff  1242 2007-05-02 08:59 RTI.hh
-rw-r--r--  1 root staff 11544 2007-05-02 08:59 RTItypes.hh

Je vais regarder ce qui cloche avec le fichier Test.fed

_________________________________________________________________
Ten : Messenger en illimité sur votre mobile ! http://mobile.live.fr/messenger/ten/



--
CERTI-Devel-French mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/certi-devel-french

_________________________________________________________________
Gagnez des pc Windows Vista avec Live.com http://www.image-addict.fr/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]