Skip to content

Commit

Permalink
Restrict CamTracker offset value to positive values
Browse files Browse the repository at this point in the history
  • Loading branch information
dostuffthatmatters committed Jun 14, 2023
1 parent 5242096 commit f2bafcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def assert_ip_address(property_path: str) -> None:
lambda: assert_file_path("camtracker.executable_path"),
lambda: assert_file_path("camtracker.learn_az_elev_path"),
lambda: assert_file_path("camtracker.sun_intensity_path"),
lambda: assert_min_max("camtracker.motor_offset_threshold", -360, 360),
lambda: assert_min_max("camtracker.motor_offset_threshold", 0, 360),
lambda: assert_min_max("measurement_triggers.min_sun_elevation", 0, 90),
lambda: assert_min_max("measurement_triggers.start_time.hour", 0, 23),
lambda: assert_min_max("measurement_triggers.stop_time.hour", 0, 23),
Expand Down

0 comments on commit f2bafcb

Please sign in to comment.