function
Tests.ManualGuidanceTests.shapedStick
The stick curve the manual guidance source applies
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| input | value | Real | | |
| output | result | Real | |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
function shapedStick "The stick curve the manual guidance source applies"
input Real value;
output Real result;
algorithm
result := MathUtilities.expo(
MathUtilities.deadzone(value, deadband), expoFraction);
end shapedStick;