Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Conversation

@vandyliu
Copy link
Contributor

@vandyliu vandyliu commented Apr 15, 2020

AB#34600

Description:

  • Included debug mode when sending state changes for white LEDs and red LEDs
  • For future, we should change send_to_simulator to account for both cases (Will do next week)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Limitations:

Please describe limitations of this PR

Testing:

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • My code has been formatted with npm run format and passes the checks in npm run check
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

sendable_json = {led: value}
utils.send_to_simulator(sendable_json, CONSTANTS.CLUE)
if common.utils.debug_mode:
common.debugger_communication_client.debug_send_to_simulator(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@isadorasophia isadorasophia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@vandyliu vandyliu merged commit 5eca6b4 into dev Apr 15, 2020
@vandyliu vandyliu deleted the users/t-vali/debugger-led-bug-fix branch April 15, 2020 20:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants