Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
3239118e
Unverified
Commit
3239118e
authored
Jul 13, 2018
by
Beat Küng
Browse files
GPS: update submodule & account for changed interface
parent
e3833aa5
Changes
4
Hide whitespace changes
Inline
Side-by-side
qgroundcontrol.pro
View file @
3239118e
...
...
@@ -642,6 +642,8 @@ HEADERS += \
src
/
AnalyzeView
/
GeoTagController
.
h
\
src
/
AnalyzeView
/
MavlinkConsoleController
.
h
\
src
/
GPS
/
Drivers
/
src
/
gps_helper
.
h
\
src
/
GPS
/
Drivers
/
src
/
rtcm
.
h
\
src
/
GPS
/
Drivers
/
src
/
ashtech
.
h
\
src
/
GPS
/
Drivers
/
src
/
ubx
.
h
\
src
/
GPS
/
GPSManager
.
h
\
src
/
GPS
/
GPSPositionMessage
.
h
\
...
...
@@ -823,6 +825,8 @@ SOURCES += \
src
/
AnalyzeView
/
GeoTagController
.
cc
\
src
/
AnalyzeView
/
MavlinkConsoleController
.
cc
\
src
/
GPS
/
Drivers
/
src
/
gps_helper
.
cpp
\
src
/
GPS
/
Drivers
/
src
/
rtcm
.
cpp
\
src
/
GPS
/
Drivers
/
src
/
ashtech
.
cpp
\
src
/
GPS
/
Drivers
/
src
/
ubx
.
cpp
\
src
/
GPS
/
GPSManager
.
cc
\
src
/
GPS
/
GPSProvider
.
cc
\
...
...
Drivers
@
ecc26a43
Compare
41223e86
...
ecc26a43
Subproject commit
41223e860e0f3b7fed5075be8ac17ecb7e07e428
Subproject commit
ecc26a43033fc1b9a3dc6dae053d28438aa2f6a1
src/GPS/GPSProvider.cc
View file @
3239118e
...
...
@@ -63,6 +63,7 @@ void GPSProvider::run()
}
gpsDriver
=
new
GPSDriverUBX
(
GPSDriverUBX
::
Interface
::
UART
,
&
callbackEntry
,
this
,
&
_reportGpsPos
,
_pReportSatInfo
);
baudrate
=
0
;
// auto-configure
gpsDriver
->
setSurveyInSpecs
(
_surveyInAccMeters
*
10000
,
_surveryInDurationSecs
);
if
(
gpsDriver
->
configure
(
baudrate
,
GPSDriverUBX
::
OutputMode
::
RTCM
)
==
0
)
{
...
...
src/GPS/vehicle_gps_position.h
View file @
3239118e
...
...
@@ -63,6 +63,7 @@ struct vehicle_gps_position_s {
float
vel_d_m_s
;
float
cog_rad
;
int32_t
timestamp_time_relative
;
float
heading
;
uint8_t
fix_type
;
bool
vel_ned_valid
;
uint8_t
satellites_used
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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