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
6cec1fa5
Commit
6cec1fa5
authored
Aug 25, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新车端跟踪
parent
3e12c80c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TrackingRosEx.cpp
TrackingRosEx.cpp
+1
-1
jfx_tracking_ex.cpp
jfx_tracking_ex.cpp
+1
-1
No files found.
TrackingRosEx.cpp
View file @
6cec1fa5
...
...
@@ -350,7 +350,7 @@ void TrackingRos::Init(ros::NodeHandle& nh)
m_trackingThread
=
std
::
thread
(
&
TrackingRos
::
ThreadTrackingProcess
,
this
);
m_timeQueue
.
SetCallbackByEnum
(
20
,
QueueDataEnum
::
QD_
INFERRESES
,
500
,
0
,[
=
](
std
::
vector
<
TimeQueueDataPtr
>&
outs
)
{
m_timeQueue
.
SetCallbackByEnum
(
20
,
QueueDataEnum
::
QD_
DET_TRACKING_ARRAY
,
500
,
0
,[
=
](
std
::
vector
<
TimeQueueDataPtr
>&
outs
)
{
TimeQueueProcess
(
outs
);
});
//Eigen::MatrixXf mat(2,2);
...
...
jfx_tracking_ex.cpp
View file @
6cec1fa5
...
...
@@ -58,7 +58,7 @@ int main(int argc, char*argv[]) {
TrackingRos
jfx_tracking
;
jfx_tracking
.
Init
(
nh
);
ros
::
Subscriber
track_sub
=
nh
.
subscribe
<
jfx_common_msgs
::
det_tracking_array
>
(
"/detection/lidar_detector/objects"
,
1000
,
&
TrackingRos
::
TrackingCallBackFunc
,
&
jfx_tracking
);
ros
::
Subscriber
track_camera
=
nh
.
subscribe
<
jfx_common_msgs
::
InferReses
>
(
"/InferReses"
,
1000
,
&
TrackingRos
::
TrackingCameraCallBackFunc
,
&
jfx_tracking
);
//
ros::Subscriber track_camera = nh.subscribe<jfx_common_msgs::InferReses>("/InferReses", 1000, &TrackingRos::TrackingCameraCallBackFunc, &jfx_tracking);
//rospy.Subscriber("/detection/lidar_detector/objects", det_tracking_array, callback)
ros
::
spin
();
...
...
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