This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
events [2020/10/12 14:27] erik [Discrete events] |
events [2021/11/12 14:12] (current) mina [Reacting to events] |
||
---|---|---|---|
Line 19: | Line 19: | ||
* When ball reaches ground, set velocity to negative | * When ball reaches ground, set velocity to negative | ||
* When bucket is full, move excess to ground | * When bucket is full, move excess to ground | ||
+ | |||
+ | ====Reacting to events==== | ||
+ | |||
+ | * The [[transfer]] block allows an event to specify when transfer should occur. This allows discrete/ | ||
+ | * The [[snapshot]] block requires an event to know when to take snapshots. | ||
+ | * The [[min_max|min max]] block allows an event to reset the current minimum/ | ||
+ | * The [[running mean]] block can be reset for a specific event. It can also be turned on or off by an event. This way one can calculate the running mean of an output for a specific period - say 5th of March until 29th of August. | ||
====See also==== | ====See also==== |