Subject: [jade-develop] Problem in FSM behaviour
From: Spanoudakis Nikos (nspan@si.gr)
Date: Wed Feb 26 2003 - 10:18:12 MET
Hi guys,
I am implementing an FSMBehaviour and I have the following problem:
When I execute the code step to step there is no problem. If I try to let it
run on its own there are certain ACL messages that remain unhandled. I had
never had the problem when the FSM children behaviours were executed only
once. The problem arises when certain behaviours are called to execute more
than once. DO I have to know something. When each behaviour finishes its
execution I set the variables .
finished = true;
and the
onEndReturnValue = NEXT_STATE_ID;
they are used in the following methods of FSMBehaviour child Behaviour:
public boolean done() {
return finished;
}
public int onEnd(){
return onEndReturnValue;
}
Am I doing something wrong? Have I missed something?
Please help... I am using JADE 2.51 I think...
Nikos
Nikolaos I. Spanoudakis, MSc
Computer and Informatics Engineer
_________________________________
Scientific Associate,
European Projects Department,
Singular Software S.A.
Emporiko kentro LIMANI,
43, 26th October str,
PC 54627, Thessaloniki,
Greece
Tel: +30 231 0590108
Fax: +30 231 0590129
Email: nspan@si.gr
http://www.deltasingular.gr
http://www.geocities.com/spanoudo/
_______________________________________________
jade-develop mailing list
jade-develop@sharon.cselt.it
http://sharon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Wed Feb 26 2003 - 10:19:45 MET