Commit 564dff7c authored by oscar's avatar oscar

删除多余的函数

parent 12f94e45
......@@ -538,34 +538,3 @@ float Track3D::GetRotY(float rot_y)
while(rot_y_real >= _PI_ * 2) rot_y_real -= _PI_ * 2;
return rot_y_real;
}
void Track3D::SetQ(const std::vector<float>& data)
{
if(data.size()<10)
{
return;
}
if(kf_ == nullptr)
{
return;
}
float score = data[9];//置信度
float ratio = 1;
if(score<0.4)
{
ratio = 10;
}
else if(score >0.7)
{
ratio = 1;
}
else
{
ratio = pow(10,(0.7-score)*33);
}
kf_->R_ = kf_->R_ * ratio;
return;
}
\ No newline at end of file
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