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
39f4bbda
Commit
39f4bbda
authored
Mar 01, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除多余的handle
parent
b349f740
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
EventsRos.cpp
EventsRos.cpp
+2
-2
EventsRos.h
EventsRos.h
+0
-2
No files found.
EventsRos.cpp
View file @
39f4bbda
...
...
@@ -23,7 +23,7 @@ int EventsRos::loadConfig(ros::NodeHandle& nh)
if
(
run_mode
==
1
)
{
std
::
string
entry_yaml
;
private_
nh
.
param
<
std
::
string
>
(
"entry_yaml"
,
entry_yaml
,
"/home/nvidia/oscar/catkin_ws/src/jfx_yolo5/"
);
nh
.
param
<
std
::
string
>
(
"entry_yaml"
,
entry_yaml
,
"/home/nvidia/oscar/catkin_ws/src/jfx_yolo5/"
);
QichechengYamlParser
parser
;
int
ret
=
parser
.
parse_yaml
(
entry_yaml
,
m_root_dir
);
if
(
ret
!=
0
)
return
-
1
;
...
...
@@ -32,7 +32,7 @@ int EventsRos::loadConfig(ros::NodeHandle& nh)
}
else
{
private_
nh
.
param
<
std
::
string
>
(
"unittest_yaml"
,
config_yaml
,
""
);
nh
.
param
<
std
::
string
>
(
"unittest_yaml"
,
config_yaml
,
""
);
m_config
=
YAML
::
LoadFile
(
config_yaml
);
}
...
...
EventsRos.h
View file @
39f4bbda
...
...
@@ -32,8 +32,6 @@
*/
class
EventsRos
{
private
:
ros
::
NodeHandle
private_nh
;
public
:
EventsRos
()
{}
~
EventsRos
()
{}
...
...
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