%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rfha).
h(in_state(rfha,open),0).
stuck(rm1,closed).
stuck(fi345,open).
stuck(ri12,closed).
stuck(rm1,open).
stuck(rm4,closed).
stuck(rom2,closed).
has_leak(rfhb).
h(in_state(rfhb,open),0).
has_leak(rom2).
h(in_state(rom2,open),0).
stuck(fom4,closed).
stuck_at(fmc1_w52,fmc1_g9,1).
stuck_at(fmc2_w60,fmc2_g11,0).
stuck_at(fmc3_w39,fmc3_g2,0).
stuck_at(fmc1_w60,fmc1_g10,0).
stuck_at(fmc3_w52,fmc3_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).

