Skip to content

(DO NOT MERGE) Code Review: Bling Strobe + Battery#61

Open
cooking-hambrops wants to merge 1 commit intomainfrom
Ethan-Bling-3.5
Open

(DO NOT MERGE) Code Review: Bling Strobe + Battery#61
cooking-hambrops wants to merge 1 commit intomainfrom
Ethan-Bling-3.5

Conversation

@cooking-hambrops
Copy link
Contributor

DO NOT MERGE. CODE CHECK AND REVIEW ONLY.
-Added different colour strobing (flashing)
-Added low battery Bling

double voltage = PowerDistribution.ModuleType.class.m_pdp.getVoltage();
SmartDashboard.putNumber("Voltage", voltage);

while (checkBatteryVoltageConstantly = true) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't put a while loop here.
Checking battery and set bling could be in periodic method of some command.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest to remove the codes related to voltage. This pull request is only for bling.
Create a new branch which is only for battery voltage detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants