Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_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
jfx_map_location
Commits
5fae2b32
Commit
5fae2b32
authored
Apr 11, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加ros代码
parent
1bfae737
Pipeline
#1077
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
Main.cpp
src/Main.cpp
+22
-0
No files found.
src/Main.cpp
0 → 100644
View file @
5fae2b32
#include <ros/ros.h>
static
const
std
::
string
prj_dir
=
"/home/cookoo/mapbox_ws/src/mapbox/localization/map/submodules/jfxmap/"
;
//static const std::string prj_dir = "/home/muyusheng/jika_tmp/src/mapbox/localization/map/submodules/jfxmap/";
static
const
std
::
string
cfg_dir
=
"./maps/rav4/mapconfig.json"
;
int
main
(
int
argc
,
char
**
argv
)
{
ros
::
init
(
argc
,
argv
,
"map"
);
ros
::
NodeHandle
nodeHandle
(
"~"
);
static
std
::
string
strPrjPath_param
;
static
std
::
string
strCfgPath_param
;
nodeHandle
.
param
(
"project_path"
,
strPrjPath_param
,
prj_dir
);
nodeHandle
.
param
(
"config_path"
,
strCfgPath_param
,
cfg_dir
);
std
::
cout
<<
"prj: "
<<
strPrjPath_param
.
c_str
()
<<
", cfg: "
<<
strCfgPath_param
.
c_str
()
<<
std
::
endl
;
ros
::
spin
();
return
0
;
}
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