Commit 6cec1fa5 authored by oscar's avatar oscar

更新车端跟踪

parent 3e12c80c
......@@ -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);
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment