%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(ffha).
h(in_state(ffha,open),0).
has_leak(rox12).
h(in_state(rox12,open),0).
has_leak(ffha).
h(in_state(ffha,open),0).
has_leak(rfm4).
h(in_state(rfm4,open),0).
has_leak(ffm5).
h(in_state(ffm5,open),0).
has_leak(lfm4).
h(in_state(lfm4,open),0).
stuck(fhb,open).
stuck(ri345a,open).
stuck_at(fmc1_w6,fmc1_g3,0).
stuck_at(fmc3_w44,fmc3_g8,0).
stuck_at(fmc2_w16,fmc2_g9,0).
stuck_at(fmc2_w28,fmc2_g11,1).
stuck_at(fmc4_w16,fmc4_g9,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: plus_pitch
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(plus_pitch,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(plus_pitch,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(plus_pitch,right_rcs),T).

