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
0588e56f
Commit
0588e56f
authored
Nov 08, 2010
by
tecnosapiens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add widget to slugsdatasensorview
parent
c49b32bd
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2104 additions
and
2157 deletions
+2104
-2157
SlugsMAV.h
src/uas/SlugsMAV.h
+54
-0
UASInterface.h
src/uas/UASInterface.h
+0
-51
SlugsDataSensorView.cc
src/ui/SlugsDataSensorView.cc
+2
-0
SlugsDataSensorView.ui
src/ui/SlugsDataSensorView.ui
+2048
-2106
No files found.
src/uas/SlugsMAV.h
View file @
0588e56f
...
@@ -37,6 +37,60 @@ public:
...
@@ -37,6 +37,60 @@ public:
public
slots
:
public
slots
:
/** @brief Receive a MAVLink message from this MAV */
/** @brief Receive a MAVLink message from this MAV */
void
receiveMessage
(
LinkInterface
*
link
,
mavlink_message_t
message
);
void
receiveMessage
(
LinkInterface
*
link
,
mavlink_message_t
message
);
signals:
// ESPECIAL SLUGS MESSAGE
void
slugsCPULoad
(
UASInterface
*
uas
,
uint8_t
sensLoad
,
uint8_t
ctrlLoad
,
uint8_t
batVolt
,
quint64
time
);
void
slugsAirData
(
UASInterface
*
uas
,
float
dinamicPressure
,
float
staticPresure
,
uint16_t
temperature
,
quint64
time
);
void
slugsSensorBias
(
UASInterface
*
uas
,
double
axBias
,
double
ayBias
,
double
azBias
,
double
gxBias
,
double
gyBias
,
double
gzBias
,
quint64
time
);
void
slugsDiagnostic
(
UASInterface
*
uas
,
double
diagFl1
,
double
diagFl2
,
double
diagFl3
,
int16_t
diagSh1
,
int16_t
diagSh2
,
int16_t
diagSh3
,
quint64
time
);
void
slugsPilotConsolePWM
(
UASInterface
*
uas
,
uint16_t
dt
,
uint16_t
dla
,
uint16_t
dra
,
uint16_t
dr
,
uint16_t
de
,
quint64
time
);
void
slugsPWM
(
UASInterface
*
uas
,
uint16_t
dt_c
,
uint16_t
dla_c
,
uint16_t
dra_c
,
uint16_t
dr_c
,
uint16_t
dle_c
,
uint16_t
dre_c
,
uint16_t
dlf_c
,
uint16_t
drf_c
,
uint16_t
da1_c
,
uint16_t
da2_c
,
quint64
time
);
};
};
#endif // SLUGSMAV_H
#endif // SLUGSMAV_H
src/uas/UASInterface.h
View file @
0588e56f
...
@@ -385,57 +385,6 @@ signals:
...
@@ -385,57 +385,6 @@ signals:
void
irUltraSoundLocalizationChanged
(
UASInterface
*
uas
,
int
fix
);
void
irUltraSoundLocalizationChanged
(
UASInterface
*
uas
,
int
fix
);
// ESPECIAL SLUGS MESSAGE
void
slugsCPULoad
(
UASInterface
*
uas
,
uint8_t
sensLoad
,
uint8_t
ctrlLoad
,
uint8_t
batVolt
,
quint64
time
);
void
slugsAirData
(
UASInterface
*
uas
,
float
dinamicPressure
,
float
staticPresure
,
uint16_t
temperature
,
quint64
time
);
void
slugsSensorBias
(
UASInterface
*
uas
,
double
axBias
,
double
ayBias
,
double
azBias
,
double
gxBias
,
double
gyBias
,
double
gzBias
,
quint64
time
);
void
slugsDiagnostic
(
UASInterface
*
uas
,
double
diagFl1
,
double
diagFl2
,
double
diagFl3
,
int16_t
diagSh1
,
int16_t
diagSh2
,
int16_t
diagSh3
,
quint64
time
);
void
slugsPilotConsolePWM
(
UASInterface
*
uas
,
uint16_t
dt
,
uint16_t
dla
,
uint16_t
dra
,
uint16_t
dr
,
uint16_t
de
,
quint64
time
);
void
slugsPWM
(
UASInterface
*
uas
,
uint16_t
dt_c
,
uint16_t
dla_c
,
uint16_t
dra_c
,
uint16_t
dr_c
,
uint16_t
dle_c
,
uint16_t
dre_c
,
uint16_t
dlf_c
,
uint16_t
drf_c
,
uint16_t
da1_c
,
uint16_t
da2_c
,
quint64
time
);
...
...
src/ui/SlugsDataSensorView.cc
View file @
0588e56f
...
@@ -113,6 +113,8 @@ void SlugsDataSensorView::refresh()
...
@@ -113,6 +113,8 @@ void SlugsDataSensorView::refresh()
ui
->
m_SlugsGyBiases_textEdit
->
setText
(
QString
::
number
(
Gyb
,
'f'
,
4
));
ui
->
m_SlugsGyBiases_textEdit
->
setText
(
QString
::
number
(
Gyb
,
'f'
,
4
));
ui
->
m_SlugsGzBiases_textEdit
->
setText
(
QString
::
number
(
Gzb
,
'f'
,
4
));
ui
->
m_SlugsGzBiases_textEdit
->
setText
(
QString
::
number
(
Gzb
,
'f'
,
4
));
}
}
}
}
...
...
src/ui/SlugsDataSensorView.ui
View file @
0588e56f
This diff is collapsed.
Click to expand it.
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