Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_kalman_filter_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
jfx_kalman_filter_src
Commits
7af47a65
Commit
7af47a65
authored
Dec 07, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
05187f2f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
jfx_tracking.cpp
jfx_tracking.cpp
+1
-1
jfx_log.cpp
log/jfx_log.cpp
+2
-2
jfx_log.h
log/jfx_log.h
+1
-1
No files found.
jfx_tracking.cpp
View file @
7af47a65
...
...
@@ -18,7 +18,7 @@ int main(int argc, char*argv[]) {
//ROS_INFO("START JFX_VISION_NODE");
InitLog
();
InitLog
(
argv
[
0
]
);
SDK_LOG
(
SDK_INFO
,
"main function"
);
...
...
log/jfx_log.cpp
View file @
7af47a65
...
...
@@ -159,13 +159,13 @@ void signalHandler(int signum) {
INIT_SDK_LOG
(
"jfx_event"
)
SDKLogBase
g_log
;
void
InitLog
()
void
InitLog
(
char
*
argv
)
{
// 注册信号 SIGINT 和信号处理程序
signal
(
SIGINT
,
signalHandler
);
LimitOpenFile
();
google
::
InitGoogleLogging
(
argv
[
0
]
);
google
::
InitGoogleLogging
(
argv
);
FLAGS_stderrthreshold
=
google
::
INFO
;
//输出到stderr的限值,默认为2(ERROR),默认ERORR以下的信息(INFO、WARNING)不打印到终端。
FLAGS_max_log_size
=
500
;
//设置最大日志文件大小(以MB为单位)。
FLAGS_logbufsecs
=
0
;
//设置可以缓冲日志的最大秒数,0指实时输出。
...
...
log/jfx_log.h
View file @
7af47a65
#
pragma
once
void
InitLog
();
void
InitLog
(
char
*
argv
);
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