Skip to content

Commit

Permalink
Merge pull request #9 from ctu-mrs/uv_led_reordering
Browse files Browse the repository at this point in the history
UV LEDs reordering
  • Loading branch information
stibipet authored Feb 2, 2024
2 parents a5d3dce + 9259eb3 commit e8a6f6e
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit e8a6f6e

Please sign in to comment.