This commit is contained in:
xinyang
2019-07-30 19:23:48 +08:00
parent 77bedfd448
commit 62763cec60
2 changed files with 1 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ void Energy::initEnergy() {
last_target_polar_angle = -1000; last_target_polar_angle = -1000;
guess_polar_angle = -1000; guess_polar_angle = -1000;
last_base_angle = -1000; last_base_angle = -1000;
predict_rad = 27; predict_rad = 25;
attack_distance = ATTACK_DISTANCE; attack_distance = ATTACK_DISTANCE;
center_delta_yaw = 1000; center_delta_yaw = 1000;
center_delta_pitch = 1000; center_delta_pitch = 1000;

View File

@@ -165,7 +165,6 @@ void Energy::showFlowStripFan(std::string windows_name, const cv::Mat src) {
center_ROI.points(ROI_vertices); //计算矩形的4个顶点 center_ROI.points(ROI_vertices); //计算矩形的4个顶点
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
line(image2show, ROI_vertices[i], ROI_vertices[(i + 1) % 4], Scalar(0, 0, 255), 2); line(image2show, ROI_vertices[i], ROI_vertices[(i + 1) % 4], Scalar(0, 0, 255), 2);
cout<<"show strip!"<<endl;
imshow(windows_name, image2show); imshow(windows_name, image2show);
} }