Commit 8e65a616 authored by wanghailong's avatar wanghailong

修改融合阈值

parent 5968bb57
......@@ -552,7 +552,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
{
for (auto& obj : cloudPtr->array)
{
if (abs(obj.x - objMsg.x) < std::max(objMsg.l * 1.2, (double)2.0) && abs(obj.y - objMsg.y) < std::max(objMsg.w * 1.2, (double)2.0))
if (abs(obj.x - objMsg.x) < std::max(objMsg.l * 2, (double)3.0) && abs(obj.y - objMsg.y) < std::max(objMsg.w * 2.0, (double)3.0))
{
duplicate = 1;
break;
......
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