%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(ri12,closed).
has_leak(foi12).
h(in_state(foi12,open),0).
stuck(rm5,closed).
has_leak(rfm5).
h(in_state(rfm5,open),0).
has_leak(ffm3).
h(in_state(ffm3,open),0).
has_leak(rfi345b).
h(in_state(rfi345b,open),0).
stuck(rm2,closed).
stuck(rm1,open).
stuck(rfha,closed).
stuck(lha,open).
stuck_at(fmc3_w28,fmc3_g8,1).
stuck_at(fmc2_w39,fmc2_g2,1).
stuck_at(fmc4_w56,fmc4_g1,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).

