You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The action_from_value method in the DwellActionsGenerator compares the absolute value of the dwell_centre with the absolute value of the target_value. This can result in the wrong action being produced if the negative of the target value sits between the initial dwell and the target dwell.
E.g. A sensor has a dwell of -1. A task is created to make this sensor look at a dwell of 0.5. The resulting task would be produced to look at -0.5 (if the resolution of the generator produced a value sufficiently close to -0.5)
The text was updated successfully, but these errors were encountered:
The
action_from_value
method in the DwellActionsGenerator compares the absolute value of the dwell_centre with the absolute value of the target_value. This can result in the wrong action being produced if the negative of the target value sits between the initial dwell and the target dwell.E.g. A sensor has a dwell of -1. A task is created to make this sensor look at a dwell of 0.5. The resulting task would be produced to look at -0.5 (if the resolution of the generator produced a value sufficiently close to -0.5)
The text was updated successfully, but these errors were encountered: