Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ardupilot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SASC
ardupilot
Commits
e6e6e36d
Commit
e6e6e36d
authored
8 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
AP_GPS_MAV: fix hdop conversion
parent
227bd3d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/AP_GPS/AP_GPS_MAV.cpp
+2
-2
2 additions, 2 deletions
libraries/AP_GPS/AP_GPS_MAV.cpp
with
2 additions
and
2 deletions
libraries/AP_GPS/AP_GPS_MAV.cpp
+
2
−
2
View file @
e6e6e36d
...
@@ -69,11 +69,11 @@ void AP_GPS_MAV::handle_msg(const mavlink_message_t *msg)
...
@@ -69,11 +69,11 @@ void AP_GPS_MAV::handle_msg(const mavlink_message_t *msg)
state
.
location
.
options
=
0
;
state
.
location
.
options
=
0
;
if
(
have_hdop
)
{
if
(
have_hdop
)
{
state
.
hdop
=
packet
.
hdop
*
10
;
//
In
centimeters
state
.
hdop
=
packet
.
hdop
*
10
0
;
//
convert to
centimeters
}
}
if
(
have_vdop
)
{
if
(
have_vdop
)
{
state
.
vdop
=
packet
.
vdop
*
10
;
//
In
centimeters
state
.
vdop
=
packet
.
vdop
*
10
0
;
//
convert to
centimeters
}
}
if
(
have_vel_h
)
{
if
(
have_vel_h
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment