fix bug.
This commit is contained in:
@@ -45,7 +45,7 @@ void Energy::initEnergy() {
|
||||
last_target_polar_angle = -1000;
|
||||
guess_polar_angle = -1000;
|
||||
last_base_angle = -1000;
|
||||
predict_rad = 27;
|
||||
predict_rad = 25;
|
||||
attack_distance = ATTACK_DISTANCE;
|
||||
center_delta_yaw = 1000;
|
||||
center_delta_pitch = 1000;
|
||||
|
||||
@@ -165,7 +165,6 @@ void Energy::showFlowStripFan(std::string windows_name, const cv::Mat src) {
|
||||
center_ROI.points(ROI_vertices); //计算矩形的4个顶点
|
||||
for (int i = 0; i < 4; i++)
|
||||
line(image2show, ROI_vertices[i], ROI_vertices[(i + 1) % 4], Scalar(0, 0, 255), 2);
|
||||
cout<<"show strip!"<<endl;
|
||||
imshow(windows_name, image2show);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user