EditorX-82 I-O Mapping
The I-O Mapping section configures the values captured by the sensor inputs to be used for setting the actuator outputs.
To use sensor inputs to control actuator outputs, configure the sensor input, then select the same input in the input-output mapping section and select the output you want to map to, then select the actuator behaviour, ie. whether to use on/off (Trigger and Toggle) or pulse width modulation (PWM) control and set the actuator output accordingly.
Note that it's possible to map multiple sensor inputs to the same actuator output. However, the actuator output may behave unpredictably if the sensor input values are both within the mapped range.
Output
Each sensor input can be used for setting one actuator output. Multiple inputs can be used for setting the same actuator output but this may lead to erratic behaviour of the actuator.
Mode
The sensor input value can be used in 3 different ways to set an actuator output:
- Trigger
- Toggle
- Direct
- Inverse
Trigger
The Trigger mode changes the actuator output status from OFF to ON if the sensor input value reaches the ON value of the Threshold slider. The actuator output status is changed from ON to OFF if the sensor input value reaches the OFF value. By setting different values for the ON and OFF threshold rapid ON-OFF triggering, due to sensor input noise, can be avoided.
Toggle
The Toggle mode changes the actuator output status from OFF to ON and vice versa if the sensor input value reaches the ON value of the Threshold slider. Set the OFF threshold to zero to avoid rapid successive toggles due to sensor input noise.
Direct/Inverse
The Direct and Inverse modes map sensor input continuously to an actuator output status. When Direct is selected and if the selected actuator output is set to CC mode the sensor input value is directly translated to the actuator method value. If it is set to PWM mode, the sensor input value is directly translated to the pulse width value.
The range of sensor input values that is used for the actuator method or pulse width is set by changing the Range Min and Max slider values.
The Inverse mode inverts the response, ie. when the sensor value increases the actuator method value or pulse width value decreases.
The Direct and Inverse modes can also be used with the actuator output set to DC mode but the sensor input will then be mapped to only the two ON and OFF actuator output values.
For example, to map the roll parameter of an Orient3D connected to sensor input 3 to an RC servo connected to actuator output 4, select output 4 in the input-output mapping section of virtual input 3 of sensor input 3, then select Continuous and set the Range as desired.
Actuator output 4 should automatically display "PWM", to show it is set to pulse width modulation, however, the pulse width value is not updated in EditorX.
CV Mapping
See the section on actuator outputs.