%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm2,closed).
stuck(lhb,open).
has_leak(lfm4).
h(in_state(lfm4,open),0).
stuck(rm2,open).
stuck(fm1,closed).
stuck(ffi345,open).
stuck(fm5,open).
stuck(ri345b,open).
has_leak(ffm2).
h(in_state(ffm2,open),0).
stuck(fi345,open).
stuck_at(fmc3_w6,fmc3_g4,1).
stuck_at(fmc2_w23,fmc2_g9,1).
stuck_at(fmc1_w16,fmc1_g10,1).
stuck_at(fmc4_w28,fmc4_g11,1).
stuck_at(fmc3_w23,fmc3_g9,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).

