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
e56d9a96
Commit
e56d9a96
authored
May 25, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
99f9a198
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
RosMsg.h
ros2/RosMsg.h
+3
-3
TrackingRos2.cpp
ros2/TrackingRos2.cpp
+0
-0
TrackingRos2.h
ros2/TrackingRos2.h
+5
-3
No files found.
ros2/RosMsg.h
View file @
e56d9a96
...
...
@@ -4,13 +4,13 @@
#include "tier4_perception_msgs/msg/detected_object_with_feature.hpp"
#include "autoware_auto_perception_msgs/msg/object_classification.hpp"
using
objTrackListPtr
=
std
::
shared_ptr
<
tier4_perception_msgs
::
msg
::
DetectedObjectsWithFeature
>
;
using
objTrackListPtr
=
std
::
shared_ptr
<
autoware_auto_perception_msgs
::
msg
::
TrackedObject
>
;
struct
Track
T
ructObj
struct
Track
St
ructObj
{
uint64_t
frame
;
int
type
;
objTrackListPtr
obj
;
};
using
trackOjbPtr
=
std
::
shared_ptr
<
Track
T
ructObj
>
;
using
trackOjbPtr
=
std
::
shared_ptr
<
Track
St
ructObj
>
;
ros2/TrackingRos2.cpp
View file @
e56d9a96
This diff is collapsed.
Click to expand it.
ros2/TrackingRos2.h
View file @
e56d9a96
...
...
@@ -9,6 +9,8 @@
#include "tier4_perception_msgs/msg/detected_objects_with_feature.hpp"
#include "tier4_perception_msgs/msg/detected_object_with_feature.hpp"
#include "autoware_auto_perception_msgs/msg/object_classification.hpp"
#include "wit_perception_msgs/msg/detected_objects_with_feature_ex.hpp"
#include "wit_perception_msgs/msg/detected_object_with_feature_ex.hpp"
#include "TrackingObj.h"
//#define ONLINE
...
...
@@ -29,10 +31,10 @@ class TrackingRos2 : public rclcpp::Node {
private
:
rclcpp
::
Subscription
<
tier4_perception_msgs
::
msg
::
DetectedObjectsWithFeature
>::
SharedPtr
m_fusion_res
;
rclcpp
::
Publisher
<
tier4_perception_msgs
::
msg
::
DetectedObjectsWithFeature
>::
SharedPtr
m_tracking_res
;
rclcpp
::
Subscription
<
wit_perception_msgs
::
msg
::
DetectedObjectsWithFeatureEx
>::
SharedPtr
m_fusion_res
;
rclcpp
::
Publisher
<
autoware_auto_perception_msgs
::
msg
::
TrackedObjects
>::
SharedPtr
m_tracking_res
;
void
ReceiveFusionResMsg
(
const
tier4_perception_msgs
::
msg
::
DetectedObjectsWithFeature
&
msg
);
void
ReceiveFusionResMsg
(
const
wit_perception_msgs
::
msg
::
DetectedObjectsWithFeatureEx
&
msg
);
void
TrackingPorcess
(
objTrackListPtr
objsPtr
);
...
...
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