📄 node18.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!--Converted with LaTeX2HTML 2002-2-1 (1.71)original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>Behavior</TITLE><META NAME="description" CONTENT="Behavior"><META NAME="keywords" CONTENT="howtorobocop"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="howtorobocop.css"><LINK REL="previous" HREF="node17.html"><LINK REL="up" HREF="node13.html"><LINK REL="next" HREF="node19.html"></HEAD><BODY ><DIV CLASS="navigation"><!--Navigation Panel--><A NAME="tex2html294" HREF="node19.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html290" HREF="node13.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html286" HREF="node17.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html292" HREF="node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="/usr/share/latex2html/icons/contents.png"></A> <BR><B> Next:</B> <A NAME="tex2html295" HREF="node19.html">Implementing a behavior</A><B> Up:</B> <A NAME="tex2html291" HREF="node13.html">Tutorial</A><B> Previous:</B> <A NAME="tex2html287" HREF="node17.html">HumanoidAgent</A> <B> <A NAME="tex2html293" HREF="node1.html">Contents</A></B> <BR><BR></DIV><!--End of Navigation Panel--><H1><A NAME="SECTION00650000000000000000"></A><A NAME="secBehavior"></A><BR>Behavior</H1><P>The code in the previous section implements an agent which connects to te server, gets placed in the field and then stands there until it falls over. Now it is time to let your agent behave. The BATS agent architecture supplies a hierarchical behavior model to help you with this by following these steps:<P><UL><LI>Implement seperate behaviors</LI><LI>Create a configuration file placing the behaviors in a hierarchical structure</LI><LI>Create and run the behaviors</LI></UL><P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL CLASS="ChildLinks"><LI><A NAME="tex2html296" HREF="node19.html">Implementing a behavior</A><UL><LI><A NAME="tex2html297" HREF="node20.html">Inherit Behavior</A><LI><A NAME="tex2html298" HREF="node21.html">Constructor (defining slots)</A><LI><A NAME="tex2html299" HREF="node22.html">getCurrentState()</A><LI><A NAME="tex2html300" HREF="node23.html">getCapability()</A><LI><A NAME="tex2html301" HREF="node24.html">Commitment</A></UL><BR><LI><A NAME="tex2html302" HREF="node25.html">Configuration XML setup</A><UL><LI><A NAME="tex2html303" HREF="node26.html">The root conf element</A><LI><A NAME="tex2html304" HREF="node27.html">The player id (unum) to class type coupling</A><LI><A NAME="tex2html305" HREF="node28.html">The player class definitions</A><LI><A NAME="tex2html306" HREF="node29.html">The behaviors element</A><LI><A NAME="tex2html307" HREF="node30.html">Behavior elements</A><LI><A NAME="tex2html308" HREF="node31.html">Behavior parameters</A><LI><A NAME="tex2html309" HREF="node32.html">Behavior slots</A></UL><BR><LI><A NAME="tex2html310" HREF="node33.html">Creating and Running Behaviors</A></UL><!--End of Table of Child-Links--><BR><HR><ADDRESS>Bram2007-11-18</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -