|
@@ -569,9 +569,9 @@ Error_manager Ground_region::detect(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud, d
|
|
|
// last_result.cy -= y;
|
|
|
// last_result.theta -= theta;
|
|
|
|
|
|
- // 角度校验,理论上car pose检测使用车身点云,应与车轮点云识别得到的车身 x偏移(0.025)与角度(<1°)一致
|
|
|
+ // 角度校验,理论上car pose检测使用车身点云,应与车轮点云识别得到的车身 x偏移(0.035)与角度(<1°)一致
|
|
|
double car_pose_theta_deg = 90 - car_pose_theta * 180.0 / M_PI;
|
|
|
- if (fabs(car_pose_x - last_result.cx) > 0.025 || fabs(car_pose_theta_deg - last_result.theta) > 1)
|
|
|
+ if (fabs(car_pose_x - last_result.cx) > 0.035 || fabs(car_pose_theta_deg - last_result.theta) > 1)
|
|
|
{
|
|
|
char valid_info[255];
|
|
|
sprintf(valid_info, "validation failed for x and theta, carpose: (%.3f, %.3f), result: (%.3f, %.3f)", car_pose_x, car_pose_theta_deg, last_result.cx, last_result.theta);
|
|
@@ -864,12 +864,12 @@ void Ground_region::thread_measure_func()
|
|
|
// else{
|
|
|
// std::cout<<ec.to_string()<<std::endl;
|
|
|
// }
|
|
|
- //LOG_IF(INFO, m_region.region_id() == 4) << m_car_wheel_information.to_string();
|
|
|
+ // LOG_IF(INFO, m_region.region_id() == 1) << m_car_wheel_information.to_string();
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
m_car_wheel_information.correctness = false;
|
|
|
- // LOG_IF(ERROR, m_region.region_id() == 2) << ec.to_string();
|
|
|
+ // LOG_IF(ERROR, m_region.region_id() == 1) << ec.to_string();
|
|
|
|
|
|
// 20211228 added by yct, car movement checking, human and door detection
|
|
|
Error_manager car_status_res = Region_status_checker::get_instance_references().get_region_parking_status(m_region.region_id(), t_wheel_info_stamped_for_car_move, *mp_cloud_filtered);
|
|
@@ -880,7 +880,7 @@ void Ground_region::thread_measure_func()
|
|
|
}else
|
|
|
{
|
|
|
m_car_wheel_information.range_status |= Range_status::Range_car_moving;
|
|
|
- // if(m_region.region_id()==4){
|
|
|
+ // if(m_region.region_id()==1){
|
|
|
// std::cout<<"failed: "<<car_status_res.to_string()<<std::endl;
|
|
|
// }
|
|
|
}
|