april  1.0.0
...
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Reflexes

module_name is part of the command interface for april library.



r.kinds

The list of registered types of reflexs in current world.

Usage

r.kinds list kinds of actors
r.kinds helpprints usage instructions



r.list

This function lists reflexs in an actor in current world and some of their basic properties (id, name of the id, running cost and packed energy).

Usage

r.list <actor> lists actors in current world
r.list helpprints usage instructions

Options

actorthe actor who'se reflexs are listed; this is the offset of the actor in the world list



r.new

This function creates a new reflex in an actor in current world. The energy for the reflex is taken from the free energy of the world.

Usage

r.new <actor> <id> create new reflex instance
r.new helpprints usage instructions

Options

actordestination actor where new reflex is created; this is the offset of the actor in the world list
idthe ID of the new reflex to create; if the id is invalid or represents a different component the function fails.




Sensors april-cmd library Brain