%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm1,closed).
has_leak(loi345a).
h(in_state(loi345a,open),0).
has_leak(lfm2).
h(in_state(lfm2,open),0).
stuck(rfm4,closed).
stuck(rox345,closed).
stuck(rx12,closed).
has_leak(lfm1).
h(in_state(lfm1,open),0).
stuck(loha,open).
stuck(rx12,closed).
has_leak(loi345a).
h(in_state(loi345a,open),0).
stuck_at(fmc3_w16,fmc3_g9,0).
stuck_at(fmc1_w56,fmc1_g1,1).
stuck_at(fmc4_w60,fmc4_g11,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).

