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

Update a few minor status bar-related items #61

Merged
merged 1 commit into from
Oct 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions rqt_bag/resource/bag_widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,12 @@
<widget class="QLabel" name="stamp_label">
<property name="maximumSize">
<size>
<width>125</width>
<width>185</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Time Stamp of the current playhead</string>
<string>Timestamp of the current playhead location</string>
</property>
<property name="frameShape">
<enum>QFrame::Panel</enum>
Expand All @@ -349,12 +349,12 @@
<widget class="QLabel" name="date_label">
<property name="maximumSize">
<size>
<width>180</width>
<width>185</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Date and time of the playhead</string>
<string>Date and time of the current playhead location</string>
</property>
<property name="frameShape">
<enum>QFrame::Panel</enum>
Expand All @@ -380,12 +380,12 @@
</property>
<property name="maximumSize">
<size>
<width>110</width>
<width>90</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Number of Seconds from the beginning of the current playhead</string>
<string>Number of seconds the current playhead location is from the beginning of the bag</string>
</property>
<property name="frameShape">
<enum>QFrame::Panel</enum>
Expand All @@ -403,6 +403,9 @@
</item>
<item>
<widget class="QLabel" name="playspeed_label">
<property name="toolTip">
<string>Playback speed</string>
</property>
<property name="maximumSize">
<size>
<width>80</width>
Expand All @@ -425,6 +428,9 @@
</item>
<item>
<widget class="QLabel" name="filesize_label">
<property name="toolTip">
<string>Bag size</string>
</property>
<property name="maximumSize">
<size>
<width>80</width>
Expand Down
2 changes: 1 addition & 1 deletion rqt_bag/src/rqt_bag/bag_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def _update_status_bar(self):
self.progress_bar.setValue(self._timeline.background_progress)

# Raw timestamp
self.stamp_label.setText('%.3fs' % self._timeline._timeline_frame.playhead.to_sec())
self.stamp_label.setText('%.9fs' % self._timeline._timeline_frame.playhead.to_sec())

# Human-readable time
self.date_label.setText(
Expand Down