%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(ffm3).
h(in_state(ffm3,open),0).
stuck(fi12,open).
has_leak(fohb).
h(in_state(fohb,open),0).
stuck(roi12,open).
stuck(rm5,closed).
stuck(rom1,open).
stuck(rm5,open).
stuck(lfx12,closed).
stuck(rm1,open).
stuck(roi345a,open).
stuck_at(fmc2_w28,fmc2_g11,1).
stuck_at(fmc2_w29,fmc2_g11,0).
stuck_at(fmc1_w60,fmc1_g2,0).
stuck_at(fmc1_w28,fmc1_g8,0).
stuck_at(fmc1_w28,fmc1_g8,0).
stuck_at(fmc1_w60,fmc1_g2,0).
stuck_at(fmc1_w4,fmc1_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).

