cloudedbats / cloudedbats_wurb_2024

Next major release - work in progress...
Other
1 stars 0 forks source link

Schedulers recalculations and latitude/longitude problem. #3

Open arnoldandreasson opened 8 months ago

arnoldandreasson commented 8 months ago

The scheduler recalculates time for sunset, sunrise, etc., when the position has changed.

Sometimes this happens too often when the detector is placed at positions where the values toggles. The solution here is to use a delta distance instead of comparing two rounded values.