Commit a92c1cf1 authored by oscar's avatar oscar

提交更新

parent bbcc1c4e
......@@ -187,6 +187,8 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
int is_need_send = 0; //是否需要发送
// if (updateHId.find(iter.first) != updateHId.end() ||
// updateLId.find(iter.first) != updateLId.end())
int camera_id = 0;
int tracking_id = 0;
if (updateId.find(iter.first) != updateId.end()) {
input_obj = objsPtr->feature_objects
[updateId[iter.first]];
......@@ -199,8 +201,6 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
obj.kinematics.twist_with_covariance =
input_obj.object.kinematics.twist_with_covariance;
obj.shape = input_obj.object.shape;
int camera_id = 0;
int tracking_id = 0;
if(addId.find(iter.first) == addId.end())
{
obj.object_id = iter.second->m_obj->obj->object_id;
......
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