When you're monitoring a numerical variable, you can set a trigger on it using trigger_add
to fire a command based on its changing value. The command documentation gives more information on their use.
Used in conjunction with the filter flag, this can be a useful way for monitoring things like pressure sensors, distance sensors etc…