mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 18:03:59 +09:00
435 lines
18 KiB
Plaintext
435 lines
18 KiB
Plaintext
|
|
|
|
local analysis of RWS_Angle_Speed
|
|
scanning: GV_MASTER_RWS_RackAngleCommand.28_1 = GV_MASTER_RWS_RackAngleCommand;
|
|
scanning: Cur_RWS_RACK_ANGLE.29_2 = Cur_RWS_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWS_RackAngleCommand.28_1 != Cur_RWS_RACK_ANGLE.29_2)
|
|
scanning: if (GV_MASTER_RWS_RackAngleCommand.28_1 < 0.0)
|
|
scanning: if (GV_MASTER_RWS_RackAngleCommand.28_1 > Cur_RWS_RACK_ANGLE.29_2)
|
|
scanning: RWS_Angle_Speed_limit.33_3 = RWS_Angle_Speed_limit;
|
|
scanning: _4 = (float) RWS_Angle_Speed_limit.33_3;
|
|
scanning: _5 = Cur_RWS_RACK_ANGLE.29_2 + _4;
|
|
scanning: Cur_RWS_RACK_ANGLE = _5;
|
|
scanning: GV_RWS1_040_RackAngleCmd = _5;
|
|
scanning: GV_RWS2_040_RackAngleCmd = _5;
|
|
scanning: Cur_RWS_RACK_ANGLE.37_6 = Cur_RWS_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWS_RackAngleCommand.28_1 < Cur_RWS_RACK_ANGLE.37_6)
|
|
scanning: RWS_Angle_Speed_limit.40_7 = RWS_Angle_Speed_limit;
|
|
scanning: _8 = (float) RWS_Angle_Speed_limit.40_7;
|
|
scanning: _9 = Cur_RWS_RACK_ANGLE.37_6 - _8;
|
|
scanning: Cur_RWS_RACK_ANGLE = _9;
|
|
scanning: GV_RWS1_040_RackAngleCmd = _9;
|
|
scanning: GV_RWS2_040_RackAngleCmd = _9;
|
|
scanning: if (GV_MASTER_RWS_RackAngleCommand.28_1 > 0.0)
|
|
scanning: Cur_RWS_RACK_ANGLE.44_10 = Cur_RWS_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWS_RackAngleCommand.28_1 < Cur_RWS_RACK_ANGLE.44_10)
|
|
scanning: RWS_Angle_Speed_limit.47_11 = RWS_Angle_Speed_limit;
|
|
scanning: _12 = (float) RWS_Angle_Speed_limit.47_11;
|
|
scanning: _13 = Cur_RWS_RACK_ANGLE.44_10 - _12;
|
|
scanning: Cur_RWS_RACK_ANGLE = _13;
|
|
scanning: GV_RWS1_040_RackAngleCmd = _13;
|
|
scanning: GV_RWS2_040_RackAngleCmd = _13;
|
|
scanning: Cur_RWS_RACK_ANGLE.50_14 = Cur_RWS_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWS_RackAngleCommand.28_1 > Cur_RWS_RACK_ANGLE.50_14)
|
|
scanning: RWS_Angle_Speed_limit.52_15 = RWS_Angle_Speed_limit;
|
|
scanning: _16 = (float) RWS_Angle_Speed_limit.52_15;
|
|
scanning: _17 = Cur_RWS_RACK_ANGLE.50_14 + _16;
|
|
scanning: Cur_RWS_RACK_ANGLE = _17;
|
|
scanning: GV_RWS1_040_RackAngleCmd = _17;
|
|
scanning: GV_RWS2_040_RackAngleCmd = _17;
|
|
scanning: return;
|
|
Function is locally const.
|
|
|
|
|
|
local analysis of Angle_Speed
|
|
scanning: GV_MASTER_RWA_RackAngleCommand.0_1 = GV_MASTER_RWA_RackAngleCommand;
|
|
scanning: Cur_RWA_RACK_ANGLE.1_2 = Cur_RWA_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWA_RackAngleCommand.0_1 != Cur_RWA_RACK_ANGLE.1_2)
|
|
scanning: if (GV_MASTER_RWA_RackAngleCommand.0_1 < 0.0)
|
|
scanning: if (GV_MASTER_RWA_RackAngleCommand.0_1 > Cur_RWA_RACK_ANGLE.1_2)
|
|
scanning: RWA_Angle_Speed_limit.5_3 = RWA_Angle_Speed_limit;
|
|
scanning: _4 = (float) RWA_Angle_Speed_limit.5_3;
|
|
scanning: _5 = Cur_RWA_RACK_ANGLE.1_2 + _4;
|
|
scanning: Cur_RWA_RACK_ANGLE = _5;
|
|
scanning: GV_RWA_040_RackAngleCmd = _5;
|
|
scanning: GV_RWA2_040_RackAngleCmd = _5;
|
|
scanning: Cur_RWA_RACK_ANGLE.9_6 = Cur_RWA_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWA_RackAngleCommand.0_1 < Cur_RWA_RACK_ANGLE.9_6)
|
|
scanning: RWA_Angle_Speed_limit.12_7 = RWA_Angle_Speed_limit;
|
|
scanning: _8 = (float) RWA_Angle_Speed_limit.12_7;
|
|
scanning: _9 = Cur_RWA_RACK_ANGLE.9_6 - _8;
|
|
scanning: Cur_RWA_RACK_ANGLE = _9;
|
|
scanning: GV_RWA_040_RackAngleCmd = _9;
|
|
scanning: GV_RWA2_040_RackAngleCmd = _9;
|
|
scanning: if (GV_MASTER_RWA_RackAngleCommand.0_1 > 0.0)
|
|
scanning: Cur_RWA_RACK_ANGLE.16_10 = Cur_RWA_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWA_RackAngleCommand.0_1 < Cur_RWA_RACK_ANGLE.16_10)
|
|
scanning: RWA_Angle_Speed_limit.19_11 = RWA_Angle_Speed_limit;
|
|
scanning: _12 = (float) RWA_Angle_Speed_limit.19_11;
|
|
scanning: _13 = Cur_RWA_RACK_ANGLE.16_10 - _12;
|
|
scanning: Cur_RWA_RACK_ANGLE = _13;
|
|
scanning: GV_RWA_040_RackAngleCmd = _13;
|
|
scanning: GV_RWA2_040_RackAngleCmd = _13;
|
|
scanning: Cur_RWA_RACK_ANGLE.22_14 = Cur_RWA_RACK_ANGLE;
|
|
scanning: if (GV_MASTER_RWA_RackAngleCommand.0_1 > Cur_RWA_RACK_ANGLE.22_14)
|
|
scanning: RWA_Angle_Speed_limit.24_15 = RWA_Angle_Speed_limit;
|
|
scanning: _16 = (float) RWA_Angle_Speed_limit.24_15;
|
|
scanning: _17 = Cur_RWA_RACK_ANGLE.22_14 + _16;
|
|
scanning: Cur_RWA_RACK_ANGLE = _17;
|
|
scanning: GV_RWA_040_RackAngleCmd = _17;
|
|
scanning: GV_RWA2_040_RackAngleCmd = _17;
|
|
scanning: return;
|
|
Function is locally const.
|
|
callgraph:
|
|
|
|
RWS_Angle_Speed/3 (RWS_Angle_Speed) @06b60700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @066758e0
|
|
References: GV_MASTER_RWS_RackAngleCommand/8 (read)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Angle_Speed/2 (Angle_Speed) @06b60460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @06675800
|
|
References: GV_MASTER_RWA_RackAngleCommand/4 (read)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
|
|
|
|
ordered call graph: reduced for nothrow
|
|
RWS_Angle_Speed/3 (RWS_Angle_Speed) @06b60700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @066758e0
|
|
References: GV_MASTER_RWS_RackAngleCommand/8 (read)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Angle_Speed/2 (Angle_Speed) @06b60460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @06675800
|
|
References: GV_MASTER_RWA_RackAngleCommand/4 (read)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
|
|
|
|
|
|
MALLOC LATTICE Initial:
|
|
RWS_Angle_Speed: malloc_bottom
|
|
Angle_Speed: malloc_bottom
|
|
|
|
|
|
MALLOC LATTICE after propagation:
|
|
RWS_Angle_Speed: malloc_bottom
|
|
Angle_Speed: malloc_bottom
|
|
callgraph:
|
|
|
|
RWS_Angle_Speed/3 (RWS_Angle_Speed) @06b60700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @06675860
|
|
References: GV_MASTER_RWS_RackAngleCommand/8 (read)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Angle_Speed/2 (Angle_Speed) @06b60460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @06675760
|
|
References: GV_MASTER_RWA_RackAngleCommand/4 (read)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
|
|
|
|
ordered call graph: reduced
|
|
RWS_Angle_Speed/3 (RWS_Angle_Speed) @06b60700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @06675860
|
|
References: GV_MASTER_RWS_RackAngleCommand/8 (read)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)Cur_RWS_RACK_ANGLE/9 (read)RWS_Angle_Speed_limit/1 (read)Cur_RWS_RACK_ANGLE/9 (write)GV_RWS1_040_RackAngleCmd/10 (write)GV_RWS2_040_RackAngleCmd/11 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Angle_Speed/2 (Angle_Speed) @06b60460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
Aux: @06675760
|
|
References: GV_MASTER_RWA_RackAngleCommand/4 (read)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)Cur_RWA_RACK_ANGLE/5 (read)RWA_Angle_Speed_limit/0 (read)Cur_RWA_RACK_ANGLE/5 (write)GV_RWA_040_RackAngleCmd/6 (write)GV_RWA2_040_RackAngleCmd/7 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
|
|
Function found not to call free: Angle_Speed
|
|
Function found not to call free: RWS_Angle_Speed
|
|
RWS_Angle_Speed ()
|
|
{
|
|
float GV_MASTER_RWS_RackAngleCommand.28_1;
|
|
float Cur_RWS_RACK_ANGLE.29_2;
|
|
int RWS_Angle_Speed_limit.33_3;
|
|
float _4;
|
|
float _5;
|
|
float Cur_RWS_RACK_ANGLE.37_6;
|
|
int RWS_Angle_Speed_limit.40_7;
|
|
float _8;
|
|
float _9;
|
|
float Cur_RWS_RACK_ANGLE.44_10;
|
|
int RWS_Angle_Speed_limit.47_11;
|
|
float _12;
|
|
float _13;
|
|
float Cur_RWS_RACK_ANGLE.50_14;
|
|
int RWS_Angle_Speed_limit.52_15;
|
|
float _16;
|
|
float _17;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_MASTER_RWS_RackAngleCommand.28_1 = GV_MASTER_RWS_RackAngleCommand;
|
|
Cur_RWS_RACK_ANGLE.29_2 = Cur_RWS_RACK_ANGLE;
|
|
if (GV_MASTER_RWS_RackAngleCommand.28_1 != Cur_RWS_RACK_ANGLE.29_2)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 13>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_MASTER_RWS_RackAngleCommand.28_1 < 0.0)
|
|
goto <bb 4>; [41.00%]
|
|
else
|
|
goto <bb 8>; [59.00%]
|
|
|
|
<bb 4> [local count: 220117074]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_MASTER_RWS_RackAngleCommand.28_1 > Cur_RWS_RACK_ANGLE.29_2)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 110058537]:
|
|
# DEBUG BEGIN_STMT
|
|
RWS_Angle_Speed_limit.33_3 = RWS_Angle_Speed_limit;
|
|
_4 = (float) RWS_Angle_Speed_limit.33_3;
|
|
_5 = Cur_RWS_RACK_ANGLE.29_2 + _4;
|
|
Cur_RWS_RACK_ANGLE = _5;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS1_040_RackAngleCmd = _5;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS2_040_RackAngleCmd = _5;
|
|
|
|
<bb 6> [local count: 220117074]:
|
|
# DEBUG BEGIN_STMT
|
|
Cur_RWS_RACK_ANGLE.37_6 = Cur_RWS_RACK_ANGLE;
|
|
if (GV_MASTER_RWS_RackAngleCommand.28_1 < Cur_RWS_RACK_ANGLE.37_6)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 7> [local count: 110058537]:
|
|
# DEBUG BEGIN_STMT
|
|
RWS_Angle_Speed_limit.40_7 = RWS_Angle_Speed_limit;
|
|
_8 = (float) RWS_Angle_Speed_limit.40_7;
|
|
_9 = Cur_RWS_RACK_ANGLE.37_6 - _8;
|
|
Cur_RWS_RACK_ANGLE = _9;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS1_040_RackAngleCmd = _9;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS2_040_RackAngleCmd = _9;
|
|
|
|
<bb 8> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_MASTER_RWS_RackAngleCommand.28_1 > 0.0)
|
|
goto <bb 9>; [59.00%]
|
|
else
|
|
goto <bb 13>; [41.00%]
|
|
|
|
<bb 9> [local count: 316753838]:
|
|
# DEBUG BEGIN_STMT
|
|
Cur_RWS_RACK_ANGLE.44_10 = Cur_RWS_RACK_ANGLE;
|
|
if (GV_MASTER_RWS_RackAngleCommand.28_1 < Cur_RWS_RACK_ANGLE.44_10)
|
|
goto <bb 10>; [50.00%]
|
|
else
|
|
goto <bb 11>; [50.00%]
|
|
|
|
<bb 10> [local count: 158376919]:
|
|
# DEBUG BEGIN_STMT
|
|
RWS_Angle_Speed_limit.47_11 = RWS_Angle_Speed_limit;
|
|
_12 = (float) RWS_Angle_Speed_limit.47_11;
|
|
_13 = Cur_RWS_RACK_ANGLE.44_10 - _12;
|
|
Cur_RWS_RACK_ANGLE = _13;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS1_040_RackAngleCmd = _13;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS2_040_RackAngleCmd = _13;
|
|
|
|
<bb 11> [local count: 316753838]:
|
|
# DEBUG BEGIN_STMT
|
|
Cur_RWS_RACK_ANGLE.50_14 = Cur_RWS_RACK_ANGLE;
|
|
if (GV_MASTER_RWS_RackAngleCommand.28_1 > Cur_RWS_RACK_ANGLE.50_14)
|
|
goto <bb 12>; [50.00%]
|
|
else
|
|
goto <bb 13>; [50.00%]
|
|
|
|
<bb 12> [local count: 158376919]:
|
|
# DEBUG BEGIN_STMT
|
|
RWS_Angle_Speed_limit.52_15 = RWS_Angle_Speed_limit;
|
|
_16 = (float) RWS_Angle_Speed_limit.52_15;
|
|
_17 = Cur_RWS_RACK_ANGLE.50_14 + _16;
|
|
Cur_RWS_RACK_ANGLE = _17;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS1_040_RackAngleCmd = _17;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS2_040_RackAngleCmd = _17;
|
|
|
|
<bb 13> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Angle_Speed ()
|
|
{
|
|
float GV_MASTER_RWA_RackAngleCommand.0_1;
|
|
float Cur_RWA_RACK_ANGLE.1_2;
|
|
int RWA_Angle_Speed_limit.5_3;
|
|
float _4;
|
|
float _5;
|
|
float Cur_RWA_RACK_ANGLE.9_6;
|
|
int RWA_Angle_Speed_limit.12_7;
|
|
float _8;
|
|
float _9;
|
|
float Cur_RWA_RACK_ANGLE.16_10;
|
|
int RWA_Angle_Speed_limit.19_11;
|
|
float _12;
|
|
float _13;
|
|
float Cur_RWA_RACK_ANGLE.22_14;
|
|
int RWA_Angle_Speed_limit.24_15;
|
|
float _16;
|
|
float _17;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_MASTER_RWA_RackAngleCommand.0_1 = GV_MASTER_RWA_RackAngleCommand;
|
|
Cur_RWA_RACK_ANGLE.1_2 = Cur_RWA_RACK_ANGLE;
|
|
if (GV_MASTER_RWA_RackAngleCommand.0_1 != Cur_RWA_RACK_ANGLE.1_2)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 13>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_MASTER_RWA_RackAngleCommand.0_1 < 0.0)
|
|
goto <bb 4>; [41.00%]
|
|
else
|
|
goto <bb 8>; [59.00%]
|
|
|
|
<bb 4> [local count: 220117074]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_MASTER_RWA_RackAngleCommand.0_1 > Cur_RWA_RACK_ANGLE.1_2)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 110058537]:
|
|
# DEBUG BEGIN_STMT
|
|
RWA_Angle_Speed_limit.5_3 = RWA_Angle_Speed_limit;
|
|
_4 = (float) RWA_Angle_Speed_limit.5_3;
|
|
_5 = Cur_RWA_RACK_ANGLE.1_2 + _4;
|
|
Cur_RWA_RACK_ANGLE = _5;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA_040_RackAngleCmd = _5;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA2_040_RackAngleCmd = _5;
|
|
|
|
<bb 6> [local count: 220117074]:
|
|
# DEBUG BEGIN_STMT
|
|
Cur_RWA_RACK_ANGLE.9_6 = Cur_RWA_RACK_ANGLE;
|
|
if (GV_MASTER_RWA_RackAngleCommand.0_1 < Cur_RWA_RACK_ANGLE.9_6)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 7> [local count: 110058537]:
|
|
# DEBUG BEGIN_STMT
|
|
RWA_Angle_Speed_limit.12_7 = RWA_Angle_Speed_limit;
|
|
_8 = (float) RWA_Angle_Speed_limit.12_7;
|
|
_9 = Cur_RWA_RACK_ANGLE.9_6 - _8;
|
|
Cur_RWA_RACK_ANGLE = _9;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA_040_RackAngleCmd = _9;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA2_040_RackAngleCmd = _9;
|
|
|
|
<bb 8> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_MASTER_RWA_RackAngleCommand.0_1 > 0.0)
|
|
goto <bb 9>; [59.00%]
|
|
else
|
|
goto <bb 13>; [41.00%]
|
|
|
|
<bb 9> [local count: 316753838]:
|
|
# DEBUG BEGIN_STMT
|
|
Cur_RWA_RACK_ANGLE.16_10 = Cur_RWA_RACK_ANGLE;
|
|
if (GV_MASTER_RWA_RackAngleCommand.0_1 < Cur_RWA_RACK_ANGLE.16_10)
|
|
goto <bb 10>; [50.00%]
|
|
else
|
|
goto <bb 11>; [50.00%]
|
|
|
|
<bb 10> [local count: 158376919]:
|
|
# DEBUG BEGIN_STMT
|
|
RWA_Angle_Speed_limit.19_11 = RWA_Angle_Speed_limit;
|
|
_12 = (float) RWA_Angle_Speed_limit.19_11;
|
|
_13 = Cur_RWA_RACK_ANGLE.16_10 - _12;
|
|
Cur_RWA_RACK_ANGLE = _13;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA_040_RackAngleCmd = _13;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA2_040_RackAngleCmd = _13;
|
|
|
|
<bb 11> [local count: 316753838]:
|
|
# DEBUG BEGIN_STMT
|
|
Cur_RWA_RACK_ANGLE.22_14 = Cur_RWA_RACK_ANGLE;
|
|
if (GV_MASTER_RWA_RackAngleCommand.0_1 > Cur_RWA_RACK_ANGLE.22_14)
|
|
goto <bb 12>; [50.00%]
|
|
else
|
|
goto <bb 13>; [50.00%]
|
|
|
|
<bb 12> [local count: 158376919]:
|
|
# DEBUG BEGIN_STMT
|
|
RWA_Angle_Speed_limit.24_15 = RWA_Angle_Speed_limit;
|
|
_16 = (float) RWA_Angle_Speed_limit.24_15;
|
|
_17 = Cur_RWA_RACK_ANGLE.22_14 + _16;
|
|
Cur_RWA_RACK_ANGLE = _17;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA_040_RackAngleCmd = _17;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA2_040_RackAngleCmd = _17;
|
|
|
|
<bb 13> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|