Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
1ebfb8fe
Commit
1ebfb8fe
authored
13 years ago
by
Jason Short
Browse files
Options
Downloads
Patches
Plain Diff
GPS time set to unsigned int32
parent
826cffe6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/AP_GPS/AP_GPS_Shim.h
+1
-1
1 addition, 1 deletion
libraries/AP_GPS/AP_GPS_Shim.h
libraries/AP_GPS/GPS.h
+1
-1
1 addition, 1 deletion
libraries/AP_GPS/GPS.h
with
2 additions
and
2 deletions
libraries/AP_GPS/AP_GPS_Shim.h
+
1
−
1
View file @
1ebfb8fe
...
...
@@ -30,7 +30,7 @@ public:
/// defines a member function set_<variable>(<type>)
///
#define __GPS_SHIM_SET(__type, __name) void set_##__name(__type v) { __name = v; _updated = true; }
__GPS_SHIM_SET
(
long
,
time
);
__GPS_SHIM_SET
(
uint32_t
,
time
);
__GPS_SHIM_SET
(
long
,
latitude
);
__GPS_SHIM_SET
(
long
,
longitude
);
__GPS_SHIM_SET
(
long
,
altitude
);
...
...
This diff is collapsed.
Click to expand it.
libraries/AP_GPS/GPS.h
+
1
−
1
View file @
1ebfb8fe
...
...
@@ -75,7 +75,7 @@ public:
virtual
void
init
(
void
)
=
0
;
// Properties
long
time
;
///< GPS time (milliseconds from epoch)
uint32_t
time
;
///< GPS time (milliseconds from epoch)
long
date
;
///< GPS date (FORMAT TBD)
long
latitude
;
///< latitude in degrees * 10,000,000
long
longitude
;
///< longitude in degrees * 10,000,000
...
...
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