Browse Source

20210429, 调度流程debug

huli 4 years ago
parent
commit
a7a45c7a12
1 changed files with 10 additions and 0 deletions
  1. 10 0
      dispatch/dispatch_process.cpp

+ 10 - 0
dispatch/dispatch_process.cpp

@@ -1520,6 +1520,11 @@ Error_manager Dispatch_process::excute_carrier_store_car_to_parkingspace(Dispatc
 			//检测正常, 直接跳过即可
 			tp_carrier_task->m_step +=2;
 		}
+		//注意了, 如果是去7号出口, 那么就直接跳过轮距修正和夹车.
+		else if(dispatch_control_node.m_dispatch_control_request_msg.dispatch_destination() == 1107)
+		{
+			tp_carrier_task->m_step = 7;
+		}
 		else
 		{
 			return Error_manager(Error_code::CARRIER_POSE_ERROR, Error_level::MINOR_ERROR,
@@ -1746,6 +1751,11 @@ Error_manager Dispatch_process::excute_carrier_store_car_to_parkingspace_ex(Disp
 			//检测正常, 直接跳过即可
 			tp_carrier_task->m_step +=2;
 		}
+		//注意了, 如果是去7号出口, 那么就直接跳过轮距修正和夹车.
+		else if(dispatch_control_node.m_dispatch_control_request_msg.dispatch_destination() == 1107)
+		{
+			tp_carrier_task->m_step = 7;
+		}
 		else
 		{
 			return Error_manager(Error_code::CARRIER_POSE_ERROR, Error_level::MINOR_ERROR,