9.4 SkillType

SkillType is simply an enum which is used to describe which skill is to be returned. Specifically it returns an integer that identifies the particular skill. It is defined in headers.h and is as follows :

enum SkillType {
    SKILL_WALK_OMNI,

    SKILL_STAND,

    SKILL_KICK_LEFT_LEG,
    SKILL_KICK_RIGHT_LEG,

    SKILL_KICK_IK_0_LEFT_LEG,
    SKILL_KICK_IK_0_RIGHT_LEG,

    SKILL_NONE

};

These are the low level actions that we return in our SkillType NaoBehavior::selectSkill() method as you can from the definition it is required to return an object of type SkillType which is one of the above.