Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
map_location
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
map_location
Commits
e86c04af
Commit
e86c04af
authored
Apr 11, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9173b342
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MapLocation.cpp
src/MapLocation.cpp
+3
-3
No files found.
src/MapLocation.cpp
View file @
e86c04af
...
...
@@ -65,7 +65,7 @@ namespace JfxLocation
result
.
vision_horizontal_point
.
x
=
data
.
vision_horizontal_point
.
x
;
result
.
vision_horizontal_point
.
y
=
data
.
vision_horizontal_point
.
y
;
result
.
vision_horizontal_point
.
z
=
data
.
vision_horizontal_point
.
z
;
result
.
horizontal_prob
=
data
.
horiz
ont
al_prob
;
result
.
horizontal_prob
=
data
.
horizal_prob
;
result
.
vision_vertical_point
.
x
=
data
.
vision_vertical_point
.
x
;
result
.
vision_vertical_point
.
y
=
data
.
vision_vertical_point
.
y
;
result
.
vision_vertical_point
.
z
=
data
.
vision_vertical_point
.
z
;
...
...
@@ -114,7 +114,7 @@ namespace JfxLocation
IGnssLocationData
gnss_location_data
=
{};
gnss_location_data
.
timestamp
.
sec
=
gps
.
time_stamp
/
1e6
;
gnss_location_data
.
timestamp
.
nanosec
=
(
gps
.
time_stamp
%
1e6
)
*
1000
;
gnss_location_data
.
timestamp
.
nanosec
=
(
gps
.
time_stamp
-
gnss_location_data
.
timestamp
.
sec
*
1e6
)
*
1000
;
gnss_location_data
.
gnss_point
.
x
=
gps
.
longitude
;
gnss_location_data
.
gnss_point
.
y
=
gps
.
latitude
;
gnss_location_data
.
gnss_point
.
z
=
gps
.
altitude
;
...
...
@@ -545,7 +545,7 @@ namespace JfxLocation
// time stamp
vision
.
timestamp
.
sec
=
lines
.
time_stamp
/
1e6
;;
vision
.
timestamp
.
nanosec
=
(
lines
.
time_stamp
%
1e6
)
*
1000
;
vision
.
timestamp
.
nanosec
=
(
lines
.
time_stamp
-
vision
.
timestamp
.
sec
*
1e6
)
*
1000
;
// crossing
if
(
true
==
lines
.
left_crossing
)
{
...
...
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