homeuser guideexamplesreferencechangelogresources

World

Body

A _CMLINK(assembly, BaseAssembly, compound assembly) which has been classified as a body . It would normally be a collection of sensors and effectors connected togethere with _CMLINK(link, Cord, cords). This is the physical part of an animat. A working animat would typically also have a network or some other processing system.

TrajectorySite

A single point in a trajectory.

DiscreteStepper

The DiscreteStepper converts spike inputs into step signals for SpatialLocation. Then_directions parameter specifies how many different directions are allowed (currently 2, 4, 6, or 8 viat he GUI, although the underlying implementation will support any number). Each step is of stepLength units in the scale of the environemnt (see ScaleBar), and can be either in the absolute coordinate system of the environment by settingcoordinates to ABSOLUTE or relative to the current direction of the animat. Directions are computed as (cos(theta), sin(theta)) where theta is 2 * PI * spike_index / n_directions. That is, direction 0 always corresponds to heading to the east. Other directions count off counterclockwise. Thus, for either interpretation of the coordinates, a sequence of spikes of index 0 will move the animat to the right. For absolute coordinates, with n_directions = 4 a sequence of 1s would move it consistently north. But with relative coordinates, each input would rotate the animat 90 degrees so it would follow a square path with one step on each side.

ScaleBar

A point for defining where in a virtual environment other items should be inserted. The point itself is part of the environment. The other items can be connected or disconnected at will.

InsertionSite

A point for defining where in a virtual environment other items should be inserted. The point itself is part of the environment. The other items can be connected or disconnected at will.

InsertionSwitch

A switch for changing objects between different _CMLINK(world, InsertionSite, inseretion sites) or, for animats, _CMLINK(world, TrajectorySite, trajectory sites) in an environment. Changing the switch position amounts to removing the object from wherever it is and placing it at the insertion site connected to the new active output from the switch.