Re: [robocup-rescue-s] About extinguish command

From: Mohammad Mehdi Saboorian (saboorian@gmail.com)
Date: Thu 16 Jun 2005 - 06:29:02 GMT


Dear Carla,
 Hearing Restriction :
Using yabapi you are restricted to hear exactly 2*n messages from others
(for a station with n agents on its team). it doesn't matter if you are
really parsing heard message.
line
if (sender != self() && m_numHearing++ < hearingLimit())
in Agent.java is responsible for apply this constraint.
it means if Police Office or Ambulance Center sends 5 messages to Fire
Station
and every firebrigade sends 2 messages, for a scenario with 5 firebrigades
in a team, you are losing some unwanted messages!
the sulotion is removing that line from Agent.java and adding another policy
for receiving only messages that you need! (ofcourse with considering 2*n
hearing limit described in rules)

Message size Restriction:
every message should not exceed 256 characters!
if you send a message containing 257 characters, kernel will reject it and
you will be notified by kernel output log!
  have fun,
Mohammad Mehdi Saboorian
Member of SBCe_Saviour
  On 6/15/05, Carla Quintero <c_quintero_rocas@hotmail.com> wrote:
>
> Dear all,
>
> I have some problem, when I am sending messages from the FireBrigade to
> the
> FireStation. My fireBrigade is sending a Collection of buildings on fire
> to
> the fireStation.
> In time=20 , the fireStation receives in the hear method every message
> (collection of buildings on fire) correctly.
>
> However, at time 25 or 30 or 50..., the fireStation doesnt receive the
> messages ...
>
> I dont understand what is the problem...
>
> is there some constraint with the size of the String in this method for
> the
> FireStation? :
>
> hear(RealObject sender, String message)
>
> Somebody can give me some idea about what is happening?
> I am working with the yabapi to develop agents.
>
> Thanks
>
> _________________________________________________________________
> Charla con tus amigos en línea mediante MSN Messenger:
> http://messenger.latam.msn.com/
>
> _______________________________________________
> robocup-rescue-s mailing list
> robocup-rescue-s@mailman.cc.gatech.edu
> https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
>


_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s@mailman.cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s



This archive was generated by hypermail 2.1.3 : Thu 16 Jun 2005 - 07:03:18 GMT