%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(ffm1).
h(in_state(ffm1,open),0).
stuck(rm1,closed).
stuck(rm3,closed).
stuck(lx345,closed).
has_leak(rfx345).
h(in_state(rfx345,open),0).
has_leak(ffhb).
h(in_state(ffhb,open),0).
has_leak(lom4).
h(in_state(lom4,open),0).
stuck(fm2,open).
stuck(rm3,closed).
stuck(lom5,open).
stuck_at(fmc1_w16,fmc1_g10,1).
stuck_at(fmc1_w23,fmc1_g9,1).
stuck_at(fmc4_w56,fmc4_g1,0).
stuck_at(fmc4_w43,fmc4_g4,1).
stuck_at(fmc2_w28,fmc2_g11,1).
stuck_at(fmc1_w60,fmc1_g3,1).
stuck_at(fmc1_w42,fmc1_g8,0).
%%%%%%%%%%%%     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).

