[fix] fixed typo and error in config description

This commit is contained in:
2020-01-29 01:19:10 -06:00
parent feb31da347
commit 575ae2a14a

View File

@@ -51,13 +51,14 @@ If the `count` of sensors is greater than the amount of `cells` in a `block`, th
Elements:
* `group`:`String` - sensor group assignment
* `parent`:`String` _[optional]_ - parent group assignment. The parents group ground truth for the current simulation tick is calculated before this grout and passed to it
* `value`:`double` - ground truth value
* `timeline`:`array` - sets simulation tick when this ground truth is active and turns inactive.
* `start`:`int` - simulation tick when this function is active
* `end`:`int` _[optional]_ - last simulation tick before this function is inactive
Alternative condensed of `timeline` notation as `array`: `[start, end]`
Alternative condensed of `value` notation as `array`: `[start, value or None, ...]`
* `parent`:`String` _[optional]_ - parent group assignment. The parents group ground truth for the current simulation tick is calculated before this group and passed to it
* `truth`:`array` - array of ground truth values and their validity
* `value`:`double` - ground truth value
* `timeline`:`array` - sets simulation tick when this ground truth is active and turns inactive.
* `start`:`int` - simulation tick when this function is active
* `end`:`int` _[optional]_ - last simulation tick before this function is inactive
Alternative condensed of `timeline` notation as `array`: `[start, end]`
Alternative condensed of `value` notation as `array`: `[start, value or None, ...]`
* `delta`:`array` _[optional]_ - function to calculate `value` of the next simulation tick, only called if no value is defined for the next tick. Result is saved as new `value` and passed again to the function for the next tick. If no function is given, the `value` remains
* `name`:`String` - name of the function. Needs to exist at compile time in a map: `["name" -> (value: double, parentValue: double, args: ...) => double]`
* `args`:`array` - arguments passed to the function in addition to the `value`