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
1d48bd91
Commit
1d48bd91
authored
May 29, 2012
by
LM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed displaying of empty satinfo messages, fixed custom dialect includes
parent
053eb5a8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
QGCMAVLink.h
src/comm/QGCMAVLink.h
+3
-1
HSIDisplay.cc
src/ui/HSIDisplay.cc
+1
-1
MAVLinkDecoder.cc
src/ui/MAVLinkDecoder.cc
+2
-0
No files found.
src/comm/QGCMAVLink.h
View file @
1d48bd91
...
...
@@ -34,7 +34,9 @@ This file is part of the QGROUNDCONTROL project
#include <mavlink.h>
#ifdef MAVLINK_CONF
#include MAVLINK_CONF
#define MY_MACRO(x) <x>
#include MY_MACRO(MAVLINK_CONF)
//#include MAVLINK_CONF
#endif
...
...
src/ui/HSIDisplay.cc
View file @
1d48bd91
...
...
@@ -990,8 +990,8 @@ void HSIDisplay::updateGlobalPosition(UASInterface*, double lat, double lon, dou
void
HSIDisplay
::
updateSatellite
(
int
uasid
,
int
satid
,
float
elevation
,
float
azimuth
,
float
snr
,
bool
used
)
{
Q_UNUSED
(
uasid
);
//qDebug() << "UPDATED SATELLITE";
// If slot is empty, insert object
if
(
satid
!=
0
)
// Satellite PRNs currently range from 1-32, but are never zero
if
(
gpsSatellites
.
contains
(
satid
))
{
gpsSatellites
.
value
(
satid
)
->
update
(
satid
,
elevation
,
azimuth
,
snr
,
used
);
}
else
{
...
...
src/ui/MAVLinkDecoder.cc
View file @
1d48bd91
...
...
@@ -28,6 +28,8 @@ MAVLinkDecoder::MAVLinkDecoder(MAVLinkProtocol* protocol, QObject *parent) :
messageFilter
.
insert
(
MAVLINK_MSG_ID_MISSION_COUNT
,
false
);
messageFilter
.
insert
(
MAVLINK_MSG_ID_MISSION_ACK
,
false
);
messageFilter
.
insert
(
MAVLINK_MSG_ID_DATA_STREAM
,
false
);
messageFilter
.
insert
(
MAVLINK_MSG_ID_GPS_STATUS
,
false
);
#ifdef MAVLINK_ENABLED_PIXHAWK
messageFilter
.
insert
(
MAVLINK_MSG_ID_ENCAPSULATED_DATA
,
false
);
messageFilter
.
insert
(
MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE
,
false
);
...
...
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