%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rom4).
h(in_state(rom4,open),0).
stuck(rom4,closed).
stuck(lha,open).
has_leak(rfi345a).
h(in_state(rfi345a,open),0).
stuck(fm5,open).
stuck(li345a,closed).
stuck(lm4,open).
has_leak(lfm2).
h(in_state(lfm2,open),0).
has_leak(ffi12).
h(in_state(ffi12,open),0).
stuck(fi12,open).
stuck_at(fmc2_w28,fmc2_g11,1).
stuck_at(fmc2_w38,fmc2_g10,1).
stuck_at(fmc3_w41,fmc3_g4,1).
stuck_at(fmc1_w53,fmc1_g3,0).
stuck_at(fmc1_w60,fmc1_g2,1).
stuck_at(fmc4_w60,fmc4_g10,0).
stuck_at(fmc1_w38,fmc1_g10,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).

