Changes between Version 40 and Version 41 of Old/Robot/robothandbook


Ignore:
Timestamp:
Aug 31, 2007, 6:00:23 PM (17 years ago)
Author:
aniket
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Robot/robothandbook

    v40 v41  
    214214The behavior composer is a drag-and-drop interface which allows for easy manipulation of behaviors networks.
    215215
     216To execute a behavior network, use the behave command:
     217{{{
     218$ behave some_network.xml
     219}}}
     220
    216221Behavior schemes are the building blocks of a behavior network. Behavior schemes must be located in one of the following directories:
    217222{{{
     
    220225}}}
    221226(Note: Both of these are subdirectories of evolution's config directories. You can see which config directories are defined using $ echo $EVOLUTION_CONFIG)
     227
     228In order to create a behavior scheme, it is necessary to both create an xml file for the scheme as well as create a class in a c++ library. A new scheme file can be adapted from an existing one.
     229
     230The c++ library should be located in
     231{{{
     232/opt/evolution_robotics/lib
     233}}}
     234
     235For instructions on creating a custom behavior scheme, refer to the ERSP tutorial 02-custom-behavior. The code for the library we've written (libiwBehavior.so and libbigarray.so) is located in ~/cpp/behaviors.
     236
     237Each behavior scheme has a "category" parameter. This parameter determines the categorization of the scheme in the behavior composer. Both of the custom schemes we've created have the category "tutorial".