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

module_name is part of the command interface for april library.



s.kinds

The list of registered types of sensors in current world.

Usage

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



s.list

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

Usage

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

Options

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



s.new

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

Usage

s.new <actor> <id> create new sensor instance
s.new helpprints usage instructions

Options

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




Actor april-cmd library Reflexes