Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UV LEDs reordering #9

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2250,12 +2250,12 @@ limitations under the License.
{%- if led1 is not none and led2 is not none and led3 is not none and led4 is not none -%}

{# -- leds configuration -- (id, signal_id, x, y, z, roll, pitch, yaw) #}
{%- set uv_leds_macro_parameters = [(1, led1, x1, y1, z, 0.0, math.radians(90), 0.0),
(2, led1, x2, y2, z, 0.0, math.radians(90), math.radians(90)),
(3, led2, x2, -y2, z, 0.0, math.radians(90), -math.radians(90)),
(4, led2, x1, -y1, z, 0.0, math.radians(90), 0.0),
(5, led3, -x2, y2, z, 0.0, math.radians(90), math.radians(90)),
(6, led3, -x1, y1, z, 0.0, math.radians(90), math.radians(180)),
{%- set uv_leds_macro_parameters = [(1, led3, x1, y1, z, 0.0, math.radians(90), 0.0),
(2, led3, x2, y2, z, 0.0, math.radians(90), math.radians(90)),
(3, led1, x2, -y2, z, 0.0, math.radians(90), -math.radians(90)),
(4, led1, x1, -y1, z, 0.0, math.radians(90), 0.0),
(5, led2, -x2, y2, z, 0.0, math.radians(90), math.radians(90)),
(6, led2, -x1, y1, z, 0.0, math.radians(90), math.radians(180)),
(7, led4, -x1, -y1, z, 0.0, math.radians(90), -math.radians(180)),
(8, led4, -x2, -y2, z, 0.0, math.radians(90), -math.radians(90))] -%}

Expand Down
Loading