%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm3,open).
has_leak(loi345b).
h(in_state(loi345b,open),0).
stuck(fohb,open).
stuck(ri345a,closed).
has_leak(foi345).
h(in_state(foi345,open),0).
stuck(ffhb,open).
stuck(fha,closed).
stuck(lox12,closed).
stuck(lm4,open).
stuck(rx345,closed).
stuck_at(fmc4_w42,fmc4_g8,1).
stuck_at(fmc4_w60,fmc4_g11,1).
stuck_at(fmc1_w38,fmc1_g10,0).
stuck_at(fmc2_w6,fmc2_g4,1).
stuck_at(fmc2_w53,fmc2_g3,1).
stuck_at(fmc3_w39,fmc3_g2,0).
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).

