Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
9b6a5c35
Commit
9b6a5c35
authored
Apr 28, 2010
by
lm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added display for comm errors
parent
89465f21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
9 deletions
+58
-9
UAS.cc
src/uas/UAS.cc
+1
-1
UASInfo.ui
src/ui/UASInfo.ui
+57
-8
No files found.
src/uas/UAS.cc
View file @
9b6a5c35
...
...
@@ -171,7 +171,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit
modeChanged
(
this
->
getUASID
(),
mode
,
""
);
modeAudio
=
" is now in "
+
mode
;
}
currentVoltage
=
state
.
vbat
;
currentVoltage
=
state
.
vbat
/
1000.0
f
;
lpVoltage
=
filterVoltage
(
currentVoltage
);
if
(
startVoltage
==
0
)
startVoltage
=
currentVoltage
;
timeRemaining
=
calculateTimeRemaining
();
...
...
src/ui/UASInfo.ui
View file @
9b6a5c35
...
...
@@ -6,8 +6,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
4
62
</width>
<height>
189
</height>
<width>
4
55
</width>
<height>
220
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -66,7 +66,7 @@
</property>
</widget>
</item>
<item
row=
"0"
column=
"4"
>
<item
row=
"0"
column=
"4"
colspan=
"4"
>
<widget
class=
"QProgressBar"
name=
"batteryBar"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
...
...
@@ -109,7 +109,7 @@
</property>
</widget>
</item>
<item
row=
"0"
column=
"
5"
rowspan=
"4
"
>
<item
row=
"0"
column=
"
8"
rowspan=
"6
"
>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
...
...
@@ -171,7 +171,7 @@
</property>
</widget>
</item>
<item
row=
"1"
column=
"4"
>
<item
row=
"1"
column=
"4"
colspan=
"4"
>
<widget
class=
"QProgressBar"
name=
"receiveLossBar"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
...
...
@@ -257,7 +257,7 @@
</property>
</widget>
</item>
<item
row=
"2"
column=
"4"
>
<item
row=
"2"
column=
"4"
colspan=
"4"
>
<widget
class=
"QProgressBar"
name=
"sendLossBar"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
...
...
@@ -343,7 +343,7 @@
</property>
</widget>
</item>
<item
row=
"3"
column=
"4"
>
<item
row=
"3"
column=
"4"
colspan=
"4"
>
<widget
class=
"QProgressBar"
name=
"loadBar"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
...
...
@@ -380,7 +380,56 @@
</property>
</widget>
</item>
<item
row=
"4"
column=
"0"
colspan=
"6"
>
<item
row=
"4"
column=
"0"
colspan=
"8"
>
<widget
class=
"Line"
name=
"line"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
</item>
<item
row=
"5"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_4"
>
<property
name=
"text"
>
<string>
I2C Errors
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"1"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"i2cErrorLabel"
>
<property
name=
"text"
>
<string>
0
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"4"
>
<widget
class=
"QLabel"
name=
"label_5"
>
<property
name=
"text"
>
<string>
SPI Errors
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"5"
>
<widget
class=
"QLabel"
name=
"spiErrorLabel"
>
<property
name=
"text"
>
<string>
0
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"6"
>
<widget
class=
"QLabel"
name=
"label_10"
>
<property
name=
"text"
>
<string>
UART Errors
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"7"
>
<widget
class=
"QLabel"
name=
"uartErrorLabel"
>
<property
name=
"text"
>
<string>
0
</string>
</property>
</widget>
</item>
<item
row=
"6"
column=
"0"
colspan=
"9"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment