Skip to content

Commit

Permalink
Adding files.
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero committed Mar 5, 2024
1 parent 47d47ba commit 10b570f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/rqt_gauges/bar_gauge.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import math

from PyQt5.QtCore import pyqtSignal
from PyQt5.QtWidgets import QProgressBar, QWidget
from PyQt5.QtWidgets import QWidget


class BarGauge(QWidget):
Expand Down Expand Up @@ -57,4 +55,4 @@ def setMaxValue(self, max_value):

def paintEvent(self, event):
self.bar_gauge.setValue(self.value)
self.value_label.setText(str(raw_value / 100.0))
self.value_label.setText(str(self.raw_value / 100.0))

0 comments on commit 10b570f

Please sign in to comment.