|
|
@@ -185,6 +185,8 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
case eSteerCommand.LL:
|
|
|
inputList.Add(IsFrontLeft);
|
|
|
inputList.Add(IsRearLeft);
|
|
|
+ this.iO.WriteOutputIO("OUT_F_STEERING_OFF", true);
|
|
|
+ this.iO.WriteOutputIO("OUT_R_STEERING_OFF", true);
|
|
|
actionSteerFront(true);
|
|
|
actionSteerRear(true);
|
|
|
outputList.Add(actionOnRearHightVolteOn);
|
|
|
@@ -192,17 +194,21 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
break;
|
|
|
case eSteerCommand.LX:
|
|
|
inputList.Add(IsFrontLeft);
|
|
|
+ this.iO.WriteOutputIO("OUT_F_STEERING_OFF", true);
|
|
|
actionSteerFront(true);
|
|
|
outputList.Add(actionOnFrontHightVolteOn);
|
|
|
break;
|
|
|
case eSteerCommand.XL:
|
|
|
inputList.Add(IsRearLeft);
|
|
|
+ this.iO.WriteOutputIO("OUT_R_STEERING_OFF", true);
|
|
|
actionSteerRear(true);
|
|
|
outputList.Add(actionOnRearHightVolteOn);
|
|
|
break;
|
|
|
case eSteerCommand.RR:
|
|
|
inputList.Add(IsFrontRight);
|
|
|
inputList.Add(IsRearRight);
|
|
|
+ this.iO.WriteOutputIO("OUT_F_STEERING_OFF", true);
|
|
|
+ this.iO.WriteOutputIO("OUT_R_STEERING_OFF", true);
|
|
|
actionSteerFront(false);
|
|
|
actionSteerRear(false);
|
|
|
outputList.Add(actionOnRearHightVolteOn);
|
|
|
@@ -210,11 +216,13 @@ namespace VehicleControlSystem.ControlLayer
|
|
|
break;
|
|
|
case eSteerCommand.RX:
|
|
|
inputList.Add(IsFrontRight);
|
|
|
+ this.iO.WriteOutputIO("OUT_F_STEERING_OFF", true);
|
|
|
actionSteerFront(false);
|
|
|
outputList.Add(actionOnFrontHightVolteOn);
|
|
|
break;
|
|
|
case eSteerCommand.XR:
|
|
|
inputList.Add(IsRearRight);
|
|
|
+ this.iO.WriteOutputIO("OUT_R_STEERING_OFF", true);
|
|
|
actionSteerRear(false);
|
|
|
outputList.Add(actionOnRearHightVolteOn);
|
|
|
break;
|