certi-devel
[Top][All Lists]
Advanced

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

Re: [certi-dev] TAG and transient message


From: Jean-Loup Bussenot
Subject: Re: [certi-dev] TAG and transient message
Date: Thu, 25 Jun 2015 11:46:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

Hi David !

Could you give us the commit number of your certi version ?
Do you compile using the NULL_MESSAGE_PRIM ?

According to Eric, you couldn't send a NER(0) after a NER(100)  without receiving a TAG(0)

INFO: Sending message (NEXT_EVENT_REQUEST, NO_EXCEPTION, federation time: 100.0)
INFO: Received message (NEXT_EVENT_REQUEST, NO_EXCEPTION, federation time: null)

INFO: Sending message (NEXT_EVENT_REQUEST, NO_EXCEPTION, federation time: 0.0)
INFO: Received message (NEXT_EVENT_REQUEST, NO_EXCEPTION, federation time: null)

Can you send us the RTIG log with the NULL_MESSAGE print ,

Jean-Loup


Le 20/06/2015 01:53, David Come a écrit :
Hi,

I encountered an odd behavior when using CERTI (lasted git version)  within my Java Framework (the HLA/Ptolemy plugin, see http://ptolemy.eecs.berkeley.edu/ for more info on Ptolemy).
.I'm also using the latest version of JCERTI available on the git repo .

My simulation is a ping-pong between 2 federates, each of them has a lookahead of 0.1 and both start at 0.

There are 2 objects in the federation, drone and calcul.
A publishes and updates drone and has subscribted to calcul, and vice-versa for B.

Here a quick ascii-art sequence diagram :

A --0.1-->Drone--> B
|  <--Calcul--0.2---   |
|  --0.3-->Drone--> |
  

Both use the NER time advance mechanism and ask NER(100) at each time.

The sequence stops after the first ping-pong exchange because the RTI grants to B access to time 100.

This bothers me because there is a transient UAV message timestamped at 0.30000000000000004 from A to B but B never receives it before the TAG.

Please find attached the full logs from A and B.

I don't know  if :
- There is a bug in CERTI
- There is a bug in JCERTI
- There is a bug in my code

Any help is welcomed.

Thanks.
David.






Attachment: Jean-Loup_Bussenot.vcf
Description: Vcard


reply via email to

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