Skip to content

Commit

Permalink
Hotfix for LEDs pulsing by default
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-pejovic authored Jan 16, 2024
1 parent ce3398e commit ee9b599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rae_sdk/rae_sdk/robot/led.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def set_leds_from_payload(self, payload: dict):
if 'interval' in payload.keys():
color_msg.frequency = float(payload['interval'])
else:
color_msg.frequency = 1.0
color_msg.frequency = 0.0
color_msg.color.a = float(payload['brightness']) / 100
color_msg.color.r = self.normalize(r)
color_msg.color.g = self.normalize(g)
Expand Down

0 comments on commit ee9b599

Please sign in to comment.