ChOp Sensor Input

The Channel Operator Sensor Input allows to input float values that depends on Sensors Locators into the graph of Channel Operators (ChOps).

A Channel Operator Sensor Input in the Maya Node Editor

Creation

Configuration

A Channel Operator Input defines the following specific attributes. For common attributes see Channel Operator Common Attributes.

Channel Operator Attributes

Vision mode

Defines what will be extracted from the Sensor Locators. Available values are:

  • Angular Occupation (Ratio): the output will be the ratio of occupied space in the angular fuzz vision space
  • Distance Occupation (Ratio): the output will be the ratio of occupied space in the distance fuzz vision space
  • Angular and Distance Occupation (Ratio): the output will be the ratio of occupied space in the fuzz vision space (will return 1 when the vision is fully occupied, 0 when it's completely empty)
  • Maximum Clearance (Angle): the output value will be the angle (in degrees) for the maximum clearance direction in the fuzz vision space (ie. the direction in which the entity can see the furthest empty space)
  • Minimum Clearance (Angle): the output value will be the angle (in degrees) for the minimum clearance direction in the fuzz vision space (ie. the direction in which the entity can see the closest obstacle)
!Ratio In Angular Occupation / Distance Occupation / Angular+Distance Occupation modes, this option will change the output value to 1-(occupied ratio), which means it will be 1 when the vision is empty, and 0 when it's full rather than the opposite
Angle

These parameters configure the zone in which checking for obstacle in the vision (represented as green zones in the Visual Feedbacks).

  • In Angular Occupation Vision Mode:

    Angle[1] and Angle[2] define the range at which obstacles are taken into account.
    Angle[0] is used to defines a slope between Angle[0] and Angle[1] in which obstacles will only be partly taken into account at the beginning of the range.
    Angle[3] is used to defines a slope between Angle[2] and Angle[3] in which obstacles will only be partly taken into account at the end of the range.
  • In Angular Occupation Vision Mode:

    Width[0] and Depth[1] define the range at which obstacles are taken into account.
    Depth[0] is used to defines a slope between Depth[0] and Width[0] in which obstacles will only be partly taken into account at the beginning of the range.
    Width[1] is used to defines a slope between Width[1] and Depth[0] in which obstacles will only be partly taken into account at the end of the range.
  • In other modes:

    The maximum value amongst Width and Height x Max Distance Factor defines the radius of the radar vision (here: 6mu)
    Depth[0] defines the minimum distance for the fuzz vision space (here: 1mu)
    Depth[1] defines the maximum distance for the fuzz vision space(here: 5mu)
    Angle[0] defines the minimum angle (right side) of the fuzz vision space at its minimum distance (here: -60° at 1ma)
    Angle[1] defines the minimum angle (right side) of the fuzz vision space at its maximum distance (here: -30° at 5ma)
    Angle[2] defines the maximum angle (leftside) of the fuzz vision space at its minimum distance space (here: 30° at 5ma)
    Angle[3] defines the maximum angle (left side) of the fuzz vision space at its maximum distance (here: 60° at 1ma)
Depth
Width
Max Distance Factor Factor which will be multiplied by the greatest Depth or Width value to define the maximum distance at which computing the vision

When changing any of those value, the display of the Sensor Input will be updated automatically.

Sensor Attributes

Use All Input Sensors

Check to use all the available input sensor (ie. currently started by a Activate Sensor Behavior) on the Entity

Sensors If "Use All Input Sensors" is not checked, this list allows to determine which Sensor Locators to use. Note that any Sensor listed here should also be enabled thanks the the Activate Sensor Behavior to be effectively used.