certi-devel
[Top][All Lists]
Advanced

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

RE : Re: RE : RE: [certi-dev] Real-Time HLA simulation?


From: HADJ AMOR HASSEN
Subject: RE : Re: RE : RE: [certi-dev] Real-Time HLA simulation?
Date: Wed, 30 Apr 2008 09:27:26 +0200 (CEST)

Hello again,

Thanks Petr and Erik for answering. I learned carefully your answers but some things are fuzzy.

Erik can you explain me more this sentence?

(freezing may simply be calling TAG and waiting for the RTI to say YES.)

I searched in the code implementation of TimeAdvanceGrant() for blocking functions like sleep() but nothing. I want to know exactly (the code) how the federate is freezed when he requests TAG.

What i understood :

1- do local computation.
2- send update of attributes.
3- Calculate the difference between RealTime and simulated time.
4- TAG to the difference calculated before.

I am not sure that is right. Can you confirm?

Finally, another idea is to create a Federate Manager which is both regulating and constrained and which request time advance. If the federate Manager didn't request time advance, this will freeze all the federation.

Thanks a lot for CERTI community.

Regards,
Hassen




> My problem is how to mix Real Time algorithms (waiting for real time) with
> HLA time management services. A conflict will happen for sure.

Nope.

1) do your local computation
2) SendUpdate with current time
3) TAG to whatever time you want



This is a general distributed simulation issue which is not HLA-related.
If an event occurs in some place you need to take some time
to "observe" the event some where, just like storm and sound.

the "only" problem with HLA is that you do not have a precise
"communication duration time".



freezing may simply be calling TAG and waiting for the RTI to say YES.



__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail


reply via email to

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