throttleSensor v0.0.1

by Veselin

Input argument is a window. In case you put a polling on 10 seconds and window to 11, it will skip every second tick.

You can use this sensor to control how often it should trigger, and if you attach this state to an actuator, you can control how often the actuator should fire.

That can be used instead of triggerPolicy flag on the actuator

Required properties:

  • window


  • Triggered
  • Skipped

Raw data:

  • triggeredTime (double)