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
d276f239
Commit
d276f239
authored
Jul 06, 2016
by
Don Gagne
Committed by
GitHub
Jul 06, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3728 from bkueng/gps_updates
gps: update drivers submodule
parents
711ee0b2
91c35124
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
Drivers
src/GPS/Drivers
+1
-1
GPSProvider.cc
src/GPS/GPSProvider.cc
+2
-2
vehicle_gps_position.h
src/GPS/vehicle_gps_position.h
+7
-6
No files found.
Drivers
@
1fb06433
Subproject commit
5c1ae956552c3887c5fddd303a8f242efa715333
Subproject commit
1fb06433752bdc22a7633a8f1c5e0640a253025a
src/GPS/GPSProvider.cc
View file @
d276f239
...
...
@@ -10,7 +10,7 @@
#include "GPSProvider.h"
#define
TIMEOUT_5HZ 5
00
#define
GPS_RECEIVE_TIMEOUT 12
00
#include <QDebug>
...
...
@@ -73,7 +73,7 @@ void GPSProvider::run()
int
numTries
=
0
;
while
(
!
_requestStop
&&
numTries
<
3
)
{
int
helperRet
=
gpsHelper
->
receive
(
TIMEOUT_5HZ
);
int
helperRet
=
gpsHelper
->
receive
(
GPS_RECEIVE_TIMEOUT
);
if
(
helperRet
>
0
)
{
numTries
=
0
;
...
...
src/GPS/vehicle_gps_position.h
View file @
d276f239
...
...
@@ -31,6 +31,9 @@
*
****************************************************************************/
/* Auto-generated by genmsg_cpp from file /home/beat/px4/src/Firmware/msg/vehicle_gps_position.msg */
#pragma once
#include <stdint.h>
...
...
@@ -40,29 +43,27 @@
*/
struct
vehicle_gps_position_s
{
uint64_t
timestamp_position
;
uint64_t
timestamp
;
uint64_t
time_utc_usec
;
int32_t
lat
;
int32_t
lon
;
int32_t
alt
;
int32_t
alt_ellipsoid
;
uint64_t
timestamp_variance
;
float
s_variance_m_s
;
float
c_variance_rad
;
uint8_t
fix_type
;
float
eph
;
float
epv
;
float
hdop
;
float
vdop
;
int32_t
noise_per_ms
;
int32_t
jamming_indicator
;
uint64_t
timestamp_velocity
;
float
vel_m_s
;
float
vel_n_m_s
;
float
vel_e_m_s
;
float
vel_d_m_s
;
float
cog_rad
;
int32_t
timestamp_time_relative
;
uint8_t
fix_type
;
bool
vel_ned_valid
;
uint64_t
timestamp_time
;
uint64_t
time_utc_usec
;
uint8_t
satellites_used
;
};
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