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

Adjust battery voltage colours in RobotInfo widget #3395

Open
3 tasks
itsarune opened this issue Oct 26, 2024 · 0 comments
Open
3 tasks

Adjust battery voltage colours in RobotInfo widget #3395

itsarune opened this issue Oct 26, 2024 · 0 comments
Assignees
Labels
Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Needs Hardware This ticket needs extra hardware, like a robot or development board to work on Thunderscope

Comments

@itsarune
Copy link
Contributor

Description of the task

The battery voltage is displayed when running Thunderscope near each robot. We can see this widget with ./tbots.py run thunderscope_main --run_diagnostics --interface {network_interface} (if you are not in the mezzanine, you can still run this if you also pass in the --disable_communication flag).

The widget changes colours to highlight the status of the batteries but at Robocup, we noticed that the colour of the bars didn't reflect the status of the batteries that well.

Improve the implementation of the ColourProgressBar to have better control of the battery shade and set the appropriate thresholds in the RobotInfo widget..

We expect that battery progress bar to be fully charged at 24.4V and fully red once below 22.2 V (nominal voltage of the batteries).

Acceptance criteria

  • Improve the threshold controls for the ColourProgressBar
  • Improve battery voltage thresholds for better colour shading
  • Test with robots and see if the widget shows sensible results after the changes

Blocked By

@itsarune itsarune added Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Needs Hardware This ticket needs extra hardware, like a robot or development board to work on Thunderscope labels Oct 26, 2024
@Muxite Muxite self-assigned this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Needs Hardware This ticket needs extra hardware, like a robot or development board to work on Thunderscope
Projects
None yet
Development

No branches or pull requests

2 participants