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
22d9874d
Commit
22d9874d
authored
Dec 20, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交修改
parent
a9ef6cbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TrackingRos.cpp
TrackingRos.cpp
+2
-2
No files found.
TrackingRos.cpp
View file @
22d9874d
...
...
@@ -24,7 +24,7 @@ float to360(float rot_y,float lidar_x_angle)
float
tmp_angle
=
0.0
f
;
float
car_angle
=
angle
/
_PI_
*
180.0
f
;
tmp_angle
=
lidar_x_angle
-
car_angle
;
SDK_LOG
(
SDK_INFO
,
"car_angle = %f, tmp_angle = %f,lidar_x_angle = %
d
"
,
car_angle
,
tmp_angle
,
lidar_x_angle
);
SDK_LOG
(
SDK_INFO
,
"car_angle = %f, tmp_angle = %f,lidar_x_angle = %
f
"
,
car_angle
,
tmp_angle
,
lidar_x_angle
);
tmp_angle
+=
360
;
while
(
tmp_angle
>
360
)
{
...
...
@@ -75,7 +75,7 @@ void TrackingRos::Init(ros::NodeHandle& nh)
SDK_LOG
(
SDK_INFO
,
"kf_gpu = %d"
,
gpu
);
m_tracker
.
SetGPU
(
gpu
);
nh
.
param
<
float
>
(
"lidar_x_angle"
,
m_lidar_x_angle
,
354.102
412638
);
nh
.
param
<
float
>
(
"lidar_x_angle"
,
m_lidar_x_angle
,
354.102
);
SDK_LOG
(
SDK_INFO
,
"m_lidar_x_angle = %f"
,
m_lidar_x_angle
);
YAML
::
Node
config
=
YAML
::
LoadFile
(
file
.
c_str
());
...
...
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