-
Notifications
You must be signed in to change notification settings - Fork 1
How to compile XABSL Behavior
XABSL stands for Extensible Agent Behavior Specification Language. The behavior for the agents in NaoTH is written in XABSL. It has to be compiled before it can be used. When you have a fresh installed NaoTH-Project the XABSL behavior is not build, thus, the robot will do nothing because of missing behavior file. The compilation process is the same for all platforms. Here a step by step description how to create it:
-
The XabslEditor is a graphical editor for the XABSL. It is implemented in Java and should run on every platform that supports Java (Windows, Linux, Mac, ...). The source and the precompiled binary (*.jar) of the XabsEditor can be downloaded here. The source is organized in a NetBeans project. Download the source and build it in NetBeans or download the binary directly and run the XabsEditor.
-
Set default compilation path in XabslEditor click
Edit->Options
set theDefault comipation path
to following path:<naoth project path>/NaoTHSoccer/Config
-
Compile behavior in XabslEditor click
open file
navigate to following subdirectory in your project directory:NaoTHSoccer/Source/Core/Cognition/Modules/BehaviorControl/XABSLBehaviorControl
select agents.xabsl and open it clickCompile Behavior
The compiler creates a file with the name behavior-ic.dat and copy it to the directory NaoTHSoccer/Config
.
Note: for the compilation process it doesn't matter which *.xabsl files of the behavior is opened.
Note2: If the default path is not set, you may risk overwriting existing *.xabsl files.