Re: [robocup-rescue-s] Question about victims inside Buildings on fire.

From: Lonelytrooper <lonelytrooper@yahoo.com>
Date: Mon 15 Jan 2007 - 13:14:19 GMT

Fire Brigades can see (and then list) civilians inside a building if distance of the firebrigade to center of the building is lte 10,000 (10 meters).

  correct your code to something like this :
  if(Util.distance(fireBrigade,building) <= 10000){
        List humansInB = positionPrp.eq(building).extract(world.humanoids);
        ....
  }
   
  CheerX
   
  Omid Aghazadeh
  
Carla Quintero <c_quintero_rocas@hotmail.com> wrote:
  
Dear List members.

Thanks a lot for response so quicly.

It is clear now for me,

On the other hand, I need some help about fireBrigades vision. the question
is: fireBrigade agents are able to know the victims' list inside buildings
on fire?. I have tried to use this sentence in my fireBrigade agents
source code:

List hmnsInBuilding =
POSITION_PRP.eq(BuildingOnFireObject).extract(world.humanoids);

and print the hmnsInBuilding's lists on each building on fire. But I have
not ouput before of more or less 170 cycle? :-S

It looks like that fireBrigades agents are not able to detect the victims
inside buildings on fire or I am taking a mistake?

Really thanks for your help from your experiences and sorry if I disturb
you.

Cheers,

Carla.

>From: "Mohammad Mehdi Saboorian"
>To: "Carla Quintero"
>CC: robocup-rescue-s@cc.gatech.edu
>Subject: Re: Question about victims inside Buildings on fire.
>Date: Mon, 15 Jan 2007 14:01:11 +0330
>
>Hi,
>Civilian agents with damage > 0 won't move. In case of fiery buildings,
>they
>will definitely get damage.
>
>
>On 1/15/07, Carla Quintero wrote:
>>
>>Dear all,
>>
>>I want to know if inside buildings on fire, it can have victims?. I mean,
>>even if fieryness of one specific building is equal or higher than 1,
>>victims stay in buildings? How it works? The question is because I am
>>trying
>>to compute how many victims stay inside of a specific building on fire,
>>but
>>I have problems for do that.
>>
>>I am using YabAPI of Morimoto, Please, somebody knows how I can do it?
>>
>>I really thanks if somebody in the list can help me,
>>
>>cheers,
>>
>>Carla,
>>
>>_________________________________________________________________
>>Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...!
>>http://latino.msn.com/entretenimiento/
>>
>>

_________________________________________________________________
Visita MSN Latino Noticias: Todo lo que pasa en el mundo y en tu paín, ¡en
tu idioma! http://latino.msn.com/noticias/

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

 
---------------------------------
Any questions? Get answers on any topic at Yahoo! Answers. Try it now.

_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s@mailman.cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
Received on Tue Jan 16 03:21:39 2007

This archive was generated by hypermail 2.1.8 : Tue 16 Jan 2007 - 02:21:40 GMT