Adjust battery voltage colours in RobotInfo
widget
#3395
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
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 theRobotInfo
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
ColourProgressBar
Blocked By
The text was updated successfully, but these errors were encountered: