Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
E
event_src
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
event_src
Commits
0dd8f27c
Commit
0dd8f27c
authored
Dec 27, 2022
by
haoshuang
Browse files
Options
Browse Files
Download
Plain Diff
将地图初始化放在最开始的地方
parents
fe14b68f
78c09657
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
JfxEvents.cpp
events/JfxEvents.cpp
+2
-2
No files found.
events/JfxEvents.cpp
View file @
0dd8f27c
...
...
@@ -55,8 +55,8 @@ void JfxEvents::Init(std::string map_path, std::string map_dir,std::string map_c
//m_OfflineMap.reset(new jf::MapInterface(dir, m_cfg.map_cfg));
dir
=
map_path
+
map_dir
;
SDK_LOG
(
SDK_INFO
,
"dir = %s, cfg = %s"
,
dir
.
c_str
(),
map_cfg
.
c_str
());
m_OfflineMap
.
reset
(
new
jf
::
MapInterface
(
dir
,
map_cfg
));
m_OfflineMap
.
reset
(
new
jf
::
MapInterface
());
m_OfflineMap
->
Init
(
dir
,
map_cfg
);
m_Queue
.
set_max_num_items
(
1
);
m_sendQueue
.
set_max_num_items
(
10
);
...
...
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