Re: [robocup-rescue-s] agent position when receiving KA_HEAR_SAY

From: Mohammad Mehdi Saboorian <saboorian@gmail.com>
Date: Mon 06 Feb 2006 - 19:39:23 GMT

Dear Mattjis,
At the start of each cycle in simulation a KA_SENSE will be sent to each agent,
and after that all KA_HEAR_* messages will be handed to agent.
So, suppose you have got a KA_SENSE message and you send a AK_MOVE,
this action will not be applied until the end of this cycle.
so when the next KA_HEAR_* message arrives you are still in position
you were at the start of cycle.

have fun,
Mohammad Mehdi Saboorian
SBCe_Saviour

On 2/6/06, Mattijs Ghijsen <mattijs@science.uva.nl> wrote:
> Hi All,
>
> I have a problem determining an agent's position at the time it receives
> a KA_HEAR_SAY message. When I send an AK_MOVE to the simulator, the
> simulator receives it and processes it and in the next cycle I receive
> an KA_SENSE with my new position on the map. If I receive an KA_HEAR_SAY
> after sending the AK_MOVE but before receiving the KA_SENSE, what would
> be my position on the map be at the time of receiving the KA_HEAR_SAY?
> Is it the old position from before sending the AK_MOVE, the new position
> when the AK_MOVE has been fully processed, or could it also be one of
> the positions along the route the agent has traveled?
> I would really appreciate if someone could give me some insight in this
> matter.
>
> regards,
>
> Mattijs Ghijsen
>
> --
>
> Mattijs Ghijsen M.Sc
> Human Computer Studies Lab
> Kruislaan 419, Matrix 1, room 2.27
> 1098 VA Amsterdam
> The Netherlands
> Email: mattijs@science.uva.nl
> Phone: +31 20 888 4660
> Fax: +31 20 525 6896
>
> _______________________________________________
> 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
Received on Mon Feb 06 21:01:15 2006

This archive was generated by hypermail 2.1.8 : Mon 06 Feb 2006 - 20:01:16 GMT